summaryrefslogtreecommitdiff
path: root/src/mbgl/map/source_info.hpp
blob: 2fb5c2466d21abda6b175c76c5d3744c31bd4db8 (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
28
#ifndef MBGL_MAP_SOURCE_INFO
#define MBGL_MAP_SOURCE_INFO

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

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

namespace mbgl {

class TileID;

class SourceInfo {
public:
    std::vector<std::string> tiles;
    uint16_t minZoom = 0;
    uint16_t maxZoom = 22;
    std::string attribution;
    std::array<float, 3> center = { { 0, 0, 0 } };
    std::array<float, 4> bounds = { { -180, -90, 180, 90 } };
};

} // namespace mbgl

#endif // MBGL_MAP_SOURCE_INFO