summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/style/layer.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mbgl/style/layer.hpp b/include/mbgl/style/layer.hpp
index e6c33a9784..4a40cc0cff 100644
--- a/include/mbgl/style/layer.hpp
+++ b/include/mbgl/style/layer.hpp
@@ -49,6 +49,12 @@ public:
VisibilityType getVisibility() const;
void setVisibility(VisibilityType);
+ // Zoom range
+ float getMinZoom() const;
+ void setMinZoom(float) const;
+ float getMaxZoom() const;
+ void setMaxZoom(float) const;
+
// Create a new layer with the specified `id` and `ref`. All other properties
// are copied from this layer.
std::unique_ptr<Layer> copy(const std::string& id,