summaryrefslogtreecommitdiff
path: root/include/mbgl/style
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-20 17:32:06 +0200
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-03-20 18:25:04 +0200
commit24198ebca86cbe1329a1854f080e3f4638973142 (patch)
tree43447ee32faff421349706b8251d10d90fc9bc2b /include/mbgl/style
parentf846205eb68e9508a0d80259008cf9adb8069a1b (diff)
downloadqtlocation-mapboxgl-24198ebca86cbe1329a1854f080e3f4638973142.tar.gz
[core] Expose Source::getZoomRange
Diffstat (limited to 'include/mbgl/style')
-rw-r--r--include/mbgl/style/source.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/mbgl/style/source.hpp b/include/mbgl/style/source.hpp
index 0901bb1954..262fc3010c 100644
--- a/include/mbgl/style/source.hpp
+++ b/include/mbgl/style/source.hpp
@@ -3,6 +3,7 @@
#include <mbgl/util/feature.hpp>
#include <mbgl/util/noncopyable.hpp>
#include <mbgl/util/optional.hpp>
+#include <mbgl/util/range.hpp>
#include <mbgl/style/types.hpp>
#include <mbgl/style/query.hpp>
@@ -55,7 +56,9 @@ public:
std::unique_ptr<Source> copy(const std::string& id) const;
optional<std::string> getAttribution() const;
-
+
+ Range<uint8_t> getZoomRange() const;
+
std::vector<Feature> querySourceFeatures(const SourceQueryOptions& options = {});
// Private implementation