textAnchor

open override fun textAnchor(textAnchor: TextAnchor): SymbolLayer

Part of the text placed closest to the anchor. Default value: "center".

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. Default value: "center".

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

Parameters

textAnchor

value of textAnchor as Expression


Part of the text placed closest to the anchor. Default value: "center".