-
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
Functions for layout properties #361
Comments
This would be useful for |
jfirebaugh
changed the title
Functions for bucket style rules
Functions for layout properties
Jan 22, 2015
I assume this would only be for numeric layout properties? |
Yes, for now. Though mapbox/mapbox-gl-style-spec#237 could apply to equally to paint and layout properties. |
lbud
pushed a commit
that referenced
this issue
Jan 27, 2015
lbud
pushed a commit
that referenced
this issue
Jan 28, 2015
bensleveritt
pushed a commit
to bensleveritt/mapbox-gl-js
that referenced
this issue
Oct 24, 2016
Deselect deleted features; closes mapbox#357
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Currently bucket rules can only be static, which means attributes important for point and label placement (
fontSize
,padding
,size
,spacing
, etc.) are set to a single value through the whole zoom range.Considering that buckets are parsed individually for each tile, which has a zoom value, we can introduce the same functions we use for other rules to bucket rules, with the only difference that the values will be calculated based on tile zoom as opposed to arbitrary fractional zoom. It is also important in case we ditch buckets in user styles, to be consistent.
This issue extends #317
The text was updated successfully, but these errors were encountered: