textOffset

open override fun textOffset(textOffset: List<Double>): SymbolLayer

Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.

Use static method SymbolLayer.defaultTextOffset to set the default property.

Parameters

textOffset

value of textOffset


open override fun textOffset(textOffset: Expression): SymbolLayer

Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.

Use static method SymbolLayer.defaultTextOffsetAsExpression to set the default property.

Parameters

textOffset

value of textOffset as Expression


Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.