summaryrefslogtreecommitdiff
path: root/src/mbgl/source/source_info.hpp
blob: dc79695dc9ec396d77e32a8e2221b35164a52e0b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#pragma once

#include <mbgl/style/types.hpp>
#include <mbgl/util/constants.hpp>
#include <mbgl/util/geo.hpp>

#include <array>
#include <vector>
#include <string>
#include <cstdint>

namespace mbgl {

class TileID;

class SourceInfo {
public:
    std::vector<std::string> tiles;
    uint8_t minZoom = 0;
    uint8_t maxZoom = 22;
    std::string attribution;
    LatLng center;
    double zoom = 0;
    LatLngBounds bounds = LatLngBounds::world();
};

} // namespace mbgl