blob: c9262f22b75fb244a4d89540e3e29e91a592fec0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#pragma once
#include <mbgl/style/source.hpp>
namespace mbgl {
namespace style {
class GeoJSONSource : public Source {
public:
GeoJSONSource(std::string id,
std::string url,
uint16_t tileSize,
std::unique_ptr<Tileset>&&,
std::unique_ptr<mapbox::geojsonvt::GeoJSONVT>&&);
private:
std::unique_ptr<Tile> createTile(const OverscaledTileID&, const UpdateParameters&) final;
};
} // namespace style
} // namespace mbgl
|