blob: 270406267c24c1092e5f4c9738d2c918bc9560c2 (
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/tile/geometry_tile.hpp>
#include <mbgl/util/feature.hpp>
namespace mbgl {
class TileParameters;
class GeoJSONTile : public GeometryTile {
public:
GeoJSONTile(const OverscaledTileID&,
std::string sourceID,
const TileParameters&,
mapbox::geometry::feature_collection<int16_t>);
void updateData(mapbox::geometry::feature_collection<int16_t>);
void querySourceFeatures(
std::vector<Feature>& result,
const SourceQueryOptions&) override;
};
} // namespace mbgl
|