diff options
author | Tobrun <tobrun.van.nuland@gmail.com> | 2018-08-22 15:55:37 +0200 |
---|---|---|
committer | Julian Rex <julian.rex@mapbox.com> | 2019-01-12 14:36:50 -0500 |
commit | 9e19405afb6f6c68d08cbecaded752f40a7c0c02 (patch) | |
tree | dd68cb3f6e7dba6118102d4701d2915973ddd225 /include | |
parent | 4db55c3ace71fcc07c3ba4de99d411bf59d46397 (diff) | |
download | qtlocation-mapboxgl-9e19405afb6f6c68d08cbecaded752f40a7c0c02.tar.gz |
[core] - expose getChildren, getLeaves, getClusterExpansionZoom on SuperclusterData
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/style/sources/geojson_source.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mbgl/style/sources/geojson_source.hpp b/include/mbgl/style/sources/geojson_source.hpp index a03b910279..36cc9bb4bb 100644 --- a/include/mbgl/style/sources/geojson_source.hpp +++ b/include/mbgl/style/sources/geojson_source.hpp @@ -33,9 +33,12 @@ public: void setURL(const std::string& url); void setGeoJSON(const GeoJSON&); - optional<std::string> getURL() const; + mapbox::geometry::feature_collection<double> getChildren(const std::uint32_t) const; + mapbox::geometry::feature_collection<double> getLeaves(const std::uint32_t, const std::uint32_t, const std::uint32_t) const; + std::uint8_t getClusterExpansionZoom(std::uint32_t) const; + class Impl; const Impl& impl() const; |