-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
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
Support fractional minzoom values #2929
Comments
FWIW - The style spec seems to indicate floats should be valid: #layer-minzoom |
This is not but could be supported 😄 |
Let me know if there is anything I can to do help you put together a PR @vicapow. 🙇 |
fwiw |
@lucaswoj I spent some time digging but wasn't able to find where this is happening. Any pointers on where to look? really odd that this happens for min but not max. |
My theory is that the library that creates vector tiles, |
Close in #5039 |
minzoom and maxzoom on layers don't seem to respect floating point values and instead round up.
Here's a quick demo: https://jsfiddle.net/oopkjeak/16/
If this is expected, maybe the docs should mention this and style validators should check for integers?
Otherwise, it would be awesome to support floating point values!
The text was updated successfully, but these errors were encountered: