Determines how the text container is aligned relative to its position.
Whether to automatically size the marker based on the width and height of the text.
Default is true
.
Text color.
Amount of padding to insert around the text as [x, y]
, where x
is the amount of
padding on the left and right, and y
is the amount of padding on the top and
bottom.
Position of the element within its parent container. Supports an anchor string for relative positioning, or an { x, y } point for absolute positioning.
Font size.
Font style, e.g. normal
or bold
.
Defines a list of transform definitions that are applied to the element.
Position translation amount in x and y coordinates.
Text value to display.
Generated using TypeDoc
A data type that provides style options for text on a map.