Only shape point placement symbols - #8706
Conversation
|
This is working really well now. The only failing test is a render test |
… of zero behavior for point and line symbol placement
|
#3725 is the PR that introduced the |
@malwoodsantoro @ryanhamley It is unclear how this change affects existing styles that may be depending on this behavior. Maybe someone from @mapbox/map-design-team can comment on whether this change will require style changes for common use cases. |
|
@mapbox/map-design-team Does anyone have feedback on this change? |
mourner
left a comment
There was a problem hiding this comment.
Looks good to me, pending benchmark results to make sure we don't regress on performance.
samanpwbb
left a comment
There was a problem hiding this comment.
Change makes sense and looks good 👍







Launch Checklist
Fixes #8575
text-max-widthwas set to zero. This was caused by a faulty check in the shaping code which equated "no max width" with "no shaping should occur". This PR fixes the issue and corrects the check by explicitly checking forlineandline-centersymbol placement and not shaping those symbols (e.g. only shape text when the symbol is placed as a point).@mapbox/studioand/or@mapbox/maps-designif this PR includes style spec changes@mapbox/gl-nativeif this PR includes shader changes or needs a native portChangelog
Fix bug in which explicit newline characters were ignored when text-max-width was set to zero