diff options
author | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2018-11-14 16:30:10 +0200 |
---|---|---|
committer | Alexander Shalamov <alexander.shalamov@mapbox.com> | 2018-12-10 16:00:34 +0200 |
commit | 72ffb8efc95e074f377114bfff4418cbf6a391e9 (patch) | |
tree | fc15256d5c2e7108bafa0289af74958284294247 /src/mbgl/renderer/sources/render_geojson_source.hpp | |
parent | c91be64b32d779fcadd5d4d592848012844d7f40 (diff) | |
download | qtlocation-mapboxgl-72ffb8efc95e074f377114bfff4418cbf6a391e9.tar.gz |
[core] Introduce Renderer::queryFeatureExtension API
New interface allows it's users to query additional information about
feature that was provided by qRF interface. This is particularly
useful for clustered features.
Diffstat (limited to 'src/mbgl/renderer/sources/render_geojson_source.hpp')
-rw-r--r-- | src/mbgl/renderer/sources/render_geojson_source.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mbgl/renderer/sources/render_geojson_source.hpp b/src/mbgl/renderer/sources/render_geojson_source.hpp index 6351c5f6f8..c23559c09a 100644 --- a/src/mbgl/renderer/sources/render_geojson_source.hpp +++ b/src/mbgl/renderer/sources/render_geojson_source.hpp @@ -13,6 +13,7 @@ class GeoJSONData; class RenderGeoJSONSource : public RenderSource { public: RenderGeoJSONSource(Immutable<style::GeoJSONSource::Impl>); + ~RenderGeoJSONSource() final; bool isLoaded() const final; @@ -37,6 +38,12 @@ public: std::vector<Feature> querySourceFeatures(const SourceQueryOptions&) const final; + FeatureExtensionValue + queryFeatureExtensions(const Feature& feature, + const std::string& extension, + const std::string& extensionField, + const optional<std::map<std::string, Value>>& args) const final; + void reduceMemoryUse() final; void dumpDebugLogs() const final; |