blob: ceae8ef8a3f63be0c158e0be2ceb5fe73ebd4b8a (
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 <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
#endif // MBGL_MAP_SOURCE_INFO
|