summaryrefslogtreecommitdiff
path: root/src/mbgl/style/source.cpp
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 /src/mbgl/style/source.cpp
parentf846205eb68e9508a0d80259008cf9adb8069a1b (diff)
downloadqtlocation-mapboxgl-24198ebca86cbe1329a1854f080e3f4638973142.tar.gz
[core] Expose Source::getZoomRange
Diffstat (limited to 'src/mbgl/style/source.cpp')
-rw-r--r--src/mbgl/style/source.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mbgl/style/source.cpp b/src/mbgl/style/source.cpp
index 25c06024d6..9ef245ac34 100644
--- a/src/mbgl/style/source.cpp
+++ b/src/mbgl/style/source.cpp
@@ -17,7 +17,11 @@ const std::string& Source::getID() const {
optional<std::string> Source::getAttribution() const {
return baseImpl->getAttribution();
}
-
+
+Range<uint8_t> Source::getZoomRange() const {
+ return baseImpl->getZoomRange();
+}
+
std::vector<Feature> Source::querySourceFeatures(const SourceQueryOptions& options) {
return baseImpl->querySourceFeatures(options);
}