text Variable Anchor
open override fun textVariableAnchor(textVariableAnchor: List<String>): SymbolLayer
Content copied to clipboard
Set the TextVariableAnchor property
Parameters
textVariableAnchor
value of textVariableAnchor
open override fun textVariableAnchor(textVariableAnchor: Expression): SymbolLayer
Content copied to clipboard
Set the TextVariableAnchor property
Parameters
textVariableAnchor
value of textVariableAnchor as Expression
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
.