Text Variable Anchor
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
.
Parameters
value
the property wrapped in Value to be used with native renderer.
Constructors
Link copied to clipboard
Construct the TextVariableAnchor with Mapbox Expression.
Link copied to clipboard