blob: 1b8c7a40f9ad33137f08aae755bf5f1df0517cbf (
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
29
30
|
#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::string url;
std::vector<std::string> tiles;
uint16_t tile_size = util::tileSize;
uint16_t min_zoom = 0;
uint16_t max_zoom = 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
|