diff options
author | Ivo van Dongen <info@ivovandongen.nl> | 2016-10-25 14:04:50 +0200 |
---|---|---|
committer | Ivo van Dongen <ivovandongen@users.noreply.github.com> | 2016-10-25 16:11:36 +0200 |
commit | b14e83ea403662f3e10b9bce95f9b78e5cacea39 (patch) | |
tree | de2cffc29efaf27a675545c9ff583f65b3907a27 /src/mbgl/style/sources/geojson_source_impl.hpp | |
parent | 6277dca8985156e313004464337c02128e13cae7 (diff) | |
download | qtlocation-mapboxgl-b14e83ea403662f3e10b9bce95f9b78e5cacea39.tar.gz |
[core] geojson source - cancel any pending request when setting geojson explicitly
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 9572355f2c..13994d9078 100644 --- a/src/mbgl/style/sources/geojson_source_impl.hpp +++ b/src/mbgl/style/sources/geojson_source_impl.hpp @@ -29,6 +29,8 @@ public: } private: + void _setGeoJSON(const GeoJSON&); + Range<uint8_t> getZoomRange() final; std::unique_ptr<Tile> createTile(const OverscaledTileID&, const UpdateParameters&) final; |