-
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
Master ticket for remaining data-driven style properties #4434
Comments
I'm not sure how useful DDS |
Curious — I know |
As we've started making more concrete plans/timelines for core style refactors, I just wanted to flag again the list of properties that we'll need implemented in order to do these refactors (they are already indicated in the list above as either "high priority" or "needed for Mapbox Streets"):
It looks like many of these have not yet been reviewed for feasibility. Would it be possible to get a review of these so we can plan accordingly for our styles? No single property is a complete blocker for style refactoring, but it would be helpful if we could have as many implemented as possible. /cc @mapbox/gl-core @ian29 |
Update: @ChrisLoer is helping me work through all the remaining symbol properties needed for core styles (see comment above). PR is up for
@anandthakker Do you know the answer to this question? ^ If the answer is "yes", then would you suggest that we don't implement @lbud how difficult do you think it would be to implement the remaining line properties needed for core styles ( |
We haven't fleshed out all the details of using expressions in filters, but as of now I do believe expression-powered filters would allow for filtering features based on both zoom level and property data. |
Yeah, this would be hard. All the |
🕵️♀️ |
Re: symbol-placement: I originally thought it would be useful in the core styles to combine point and line labels, but this ability doesn't affect many features, so it's not very pressing. I've crossed it off the core styles refactor checklist for now. |
Updated OP for |
@jfirebaugh can you elaborate on this status for
Is this referring to the limited number of fontstacks that can be used in a style in a performant way? And/or other constraints? |
One of the constraints is being lifted with the introduction of per-tile glyph atlases. The other constraint is due to offline -- in order to store glyphs offline, we need to be able to statically determine what all the possible font stacks are. If |
@jfirebaugh gotcha, thanks. Commented here mapbox/mapbox-gl-native#9939 (comment) |
When will |
According to the this ticket, we have not yet reviewed the feasibility of adding DDS support for In our Mapbox Streets vector tiles, we have some label data layers that contain both line and point features, and we often style both geometry types very similarly (WRT filtering, text-size, text-color, etc). It would be helpful if we could style all these features in one style layer, and as far as I can tell, the lack of DDS support for |
We'd also like to see the 'symbol-spacing' property enabled. Our use case is we can use expressions to create spacing in real world units (e.g. meters). In theory this might allow us to set the spacing of icons in meters...such as a line of trees which are 10m apart. |
Looking at the list, I don't see |
text-translate
circle-translate
circle-translate-anchor
line-gradient
fill-translate
fill-translate-anchor
line-translate
line-translate-anchor
icon-translate
icon-translate-anchor
text-translate-anchor
fill-extrusion-translate
fill-extrusion-translate-anchor
symbol-placement
symbol-spacing
text-optional
icon-optional
symbol-avoid-edges
icon-allow-overlap
icon-ignore-placement
icon-rotation-alignment
icon-text-fit
icon-text-fit-padding
icon-padding
icon-keep-upright
text-pitch-alignment
text-rotation-alignment
text-max-angle
text-padding
text-keep-upright
text-allow-overlap
text-ignore-placement
circle-pitch-scale
fill-antialias
line-miter-limit
line-round-limit
fill-extrusion-opacity
visibility
filter
instead.Implemented:
line-dasharray
line-cap
text-line-height
text-offset
icon-image
text-rotate
icon-size
text-size
line-width
line-join
text-anchor
text-justify
text-max-width
text-letter-spacing
text-font
fill-pattern
line-pattern
fill-extrusion-pattern
The text was updated successfully, but these errors were encountered: