blob: 47984ff9da8d45547cfd3b1d0730e4d272073b10 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
#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>&&);
void load(FileSource&) final;
private:
std::unique_ptr<Tile> createTile(const OverscaledTileID&, const UpdateParameters&) final;
};
} // namespace style
} // namespace mbgl
|