diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2016-09-20 20:50:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-20 20:50:27 +0200 |
commit | 7df9a21f415aa269e7ae435d1500f4a3c7d607e1 (patch) | |
tree | 9e383dbb2a7c92dd3d5e983c68795f04252025f3 /src/mbgl/style/sources/geojson_source_impl.hpp | |
parent | 3755d48441de190a0e94b347ec3ba8e2d54a7285 (diff) | |
download | qtlocation-mapboxgl-7df9a21f415aa269e7ae435d1500f4a3c7d607e1.tar.gz |
[core] - mutable geojson sources. make tiles protected for geojson_source_impl (#6347)
Diffstat (limited to 'src/mbgl/style/sources/geojson_source_impl.hpp')
-rw-r--r-- | src/mbgl/style/sources/geojson_source_impl.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mbgl/style/sources/geojson_source_impl.hpp b/src/mbgl/style/sources/geojson_source_impl.hpp index cf079e472c..9572355f2c 100644 --- a/src/mbgl/style/sources/geojson_source_impl.hpp +++ b/src/mbgl/style/sources/geojson_source_impl.hpp @@ -3,6 +3,7 @@ #include <mbgl/style/source_impl.hpp> #include <mbgl/style/sources/geojson_source.hpp> #include <mbgl/util/variant.hpp> +#include <mbgl/tile/geojson_tile.hpp> namespace mbgl { @@ -19,6 +20,7 @@ public: optional<std::string> getURL(); void setGeoJSON(const GeoJSON&); + void setTileData(GeoJSONTile&, const OverscaledTileID& tileID); void loadDescription(FileSource&) final; |