textTranslate

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

Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up. Default value: 0,0.

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

Parameters

textTranslate

value of textTranslate


open override fun textTranslate(textTranslate: Expression): SymbolLayer

Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up. Default value: 0,0.

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

Parameters

textTranslate

value of textTranslate as Expression


Distance that the text's anchor is moved from its original placement. Positive values indicate right and down, while negative values indicate left and up. Default value: 0,0.