From 18149cbcc27a926f280b08d8d0e09104b2147688 Mon Sep 17 00:00:00 2001 From: John Firebaugh Date: Wed, 27 Apr 2016 16:03:04 -0700 Subject: [core] Add {min,max}Zoom accessors --- include/mbgl/style/layer.hpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include') 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 copy(const std::string& id, -- cgit v1.2.1