We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi!
I want to get the minzoom and maxzoom properties from layer. Only exists setLayerZoomRange.
Is there any way to get the minimum and maximum zoom from a layer?
Thanks!
The text was updated successfully, but these errors were encountered:
Already done in #3592
Sorry, something went wrong.
My mistake! That's for the map's zoom not the layer's. I suggest using Map#getLayer(id).minzoom (this won't break with #3713)
Map#getLayer(id).minzoom
Thanks @lucaswoj and @mollymerp!
No branches or pull requests
Hi!
I want to get the minzoom and maxzoom properties from layer. Only exists setLayerZoomRange.
Is there any way to get the minimum and maximum zoom from a layer?
Thanks!
The text was updated successfully, but these errors were encountered: