diff options
author | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-07-29 15:18:21 +0300 |
---|---|---|
committer | Thiago Marcos P. Santos <thiago@mapbox.com> | 2016-07-29 15:26:30 +0300 |
commit | 045a644a7dd997a0123a1f49efa0e8c744b83fdf (patch) | |
tree | d314bafa6320b76153a11efa5de7481aa41b127e /src/mbgl/style/layer_impl.hpp | |
parent | de0cb554d676a8a84e01ed18508fd3ef52661368 (diff) | |
download | qtlocation-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.hpp | 2 |
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( |