summaryrefslogtreecommitdiff
path: root/src/mbgl/style/layer_impl.hpp
diff options
context:
space:
mode:
authorThiago Marcos P. Santos <thiago@mapbox.com>2016-07-29 15:18:21 +0300
committerThiago Marcos P. Santos <thiago@mapbox.com>2016-07-29 15:26:30 +0300
commit045a644a7dd997a0123a1f49efa0e8c744b83fdf (patch)
treed314bafa6320b76153a11efa5de7481aa41b127e /src/mbgl/style/layer_impl.hpp
parentde0cb554d676a8a84e01ed18508fd3ef52661368 (diff)
downloadqtlocation-mapboxgl-045a644a7dd997a0123a1f49efa0e8c744b83fdf.tar.gz
[core] Respect minzoom and maxzoom properties
Fixes #5811
Diffstat (limited to 'src/mbgl/style/layer_impl.hpp')
-rw-r--r--src/mbgl/style/layer_impl.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mbgl/style/layer_impl.hpp b/src/mbgl/style/layer_impl.hpp
index d2bf866e8e..c1f04fe513 100644
--- a/src/mbgl/style/layer_impl.hpp
+++ b/src/mbgl/style/layer_impl.hpp
@@ -64,7 +64,7 @@ public:
bool hasRenderPass(RenderPass) const;
// Checks whether this layer can be rendered.
- bool needsRendering() const;
+ bool needsRendering(float zoom) const;
virtual float getQueryRadius() const { return 0; }
virtual bool queryIntersectsGeometry(