-
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
Control properties by zoom level? #311
Comments
This is easy from a rendering perspective, but the tricky part is to find a syntax that doesn't unnecessarily complicate the stylesheet. Right now, you could do this as a |
@kkaefer Thanks! What is the syntax for writing |
@kkaefer what arguments does the |
The syntax is: |
Stops work for colors now, so I think the issue can be closed. |
Is there a way to control properties by zoom level, other than assigning functions to numerical values? E.g. if you wanted to completely change the color of a feature at a certain zoom level? Not a big deal right now, since a lot of the properties this would be most useful for are not supported (like multiple font stacks or text transform), but I think this would eventually be important.
The text was updated successfully, but these errors were encountered: