textAnchor

open override fun textAnchor(textAnchor: TextAnchor): SymbolLayer

Part of the text placed closest to the anchor.

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

Parameters

textAnchor

value of textAnchor

open override fun textAnchor(textAnchor: Expression): SymbolLayer

Part of the text placed closest to the anchor.

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

Parameters

textAnchor

value of textAnchor as Expression

val textAnchor: TextAnchor?

Part of the text placed closest to the anchor.