Repository navigation
Better handling for undefined icon|text-rotation-alignment - #6253
Conversation
|
@yhahn, thanks for your PR! By analyzing this pull request, we identified @jfirebaugh, @mikemorris and @ansis to be potential reviewers. |
| } else { | ||
| bucket->layout.iconRotationAlignment.value = AlignmentType::Viewport; | ||
| } | ||
| }; |
|
Quick discussion with @1ec5 -- one possible approach to address the special-caseness of these properties would be to add an explicit enum value to the spec like
I'm fairly certain this would be a breaking change though -- styles explicitly using the value |
|
Yes, I think we need to add |
01085d3 to
cdf7d39
Compare
boundsj
left a comment
There was a problem hiding this comment.
@jfirebaugh @lbud this file was falling behind so I rebased on top of master. This commit keeps @lbud's latest changes but changes s/bucket->layout/layoutProperties
|
Changes here look good. Do we have a test case for the original issue #5683? |
|
@jfirebaugh a PR for GL JS tests is started and is blocked by mapbox/mapbox-gl-js#3203. We still need to add render tests to this PR. |
6df272e to
a5fbf64
Compare
4252b79 to
2325c79
Compare
|
Style-spec, test-suite, and gl-js have been updated. Remaining work here is to get the tests passing. |
2325c79 to
22dd4fb
Compare
|
Two of the icon-rotation-alignment tests are failing due to very slight positioning differences. 😖 I'll finish up tomorrow. |
22dd4fb to
719d278
Compare
719d278 to
24318a6
Compare
I believe this addresses the root cause behind #5683.
defaultfromtext-rotation-alignmentandicon-rotation-alignment. This value was a lie given that renderers currently derive the default in coordination withsymbol-placementRemaining backlog