Skip to content

Commit c7348c8

Browse files
sakrolekgithub-actions[bot]
authored andcommitted
Update style spec to mark that appearances and text-variable-anchor don't work together
GitOrigin-RevId: 5dda239f88cca201cf68492a853939053a405bbb
1 parent 9d8c353 commit c7348c8

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/style-spec/reference/v8.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1703,7 +1703,7 @@
17031703
"value": "appearance",
17041704
"supported-layer-types": ["symbol"],
17051705
"experimental": true,
1706-
"doc": "Conditional styling applied to symbol layer features based on dynamic conditions. If multiple conditions are true, only the first matching appearance will be applied. Only properties marked with 'Works with appearances' are supported."
1706+
"doc": "Conditional styling applied to symbol layer features based on dynamic conditions. If multiple conditions are true, only the first matching appearance will be applied. Only properties marked with 'Works with appearances' are supported. Known issue: at the moment having both `appearances` and `text-variable-anchor` in the same layer doesn't work correctly."
17071707
}
17081708
},
17091709
"appearance": {
@@ -3993,7 +3993,7 @@
39933993
]
39943994
}
39953995
],
3996-
"doc": "To increase the chance of placing high-priority labels on the map, you can provide an array of `text-anchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use the `text-radial-offset` or the two-dimensional `text-offset`.",
3996+
"doc": "To increase the chance of placing high-priority labels on the map, you can provide an array of `text-anchor` locations: the renderer will attempt to place the label at each location, in order, before moving onto the next label. Use `text-justify: auto` to choose justification based on anchor position. To apply an offset, use the `text-radial-offset` or the two-dimensional `text-offset`. Known issue: at the moment having both `appearances` and `text-variable-anchor` in the same layer doesn't work correctly.",
39973997
"sdk-support": {
39983998
"basic functionality": {
39993999
"js": "0.54.0",

0 commit comments

Comments
 (0)