summaryrefslogtreecommitdiff
path: root/src/mbgl/util/tileset.hpp
blob: 7e53850dfe96733fbbd35813ca725cbb0300487a (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
#pragma once

#include <mbgl/util/constants.hpp>
#include <mbgl/util/range.hpp>
#include <mbgl/util/geo.hpp>

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

namespace mbgl {

class Tileset {
public:
    std::vector<std::string> tiles;
    Range<uint8_t> zoomRange { 0, 22 };
    std::string attribution;
    LatLng center;
    double zoom = 0;
    LatLngBounds bounds = LatLngBounds::world();
};

} // namespace mbgl