textPadding

open override fun textPadding(textPadding: Double): SymbolLayer

Size of the additional area around the text bounding box used for detecting symbol collisions. Default value: 2. Minimum value: 0.

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

Parameters

textPadding

value of textPadding


open override fun textPadding(textPadding: Expression): SymbolLayer

Size of the additional area around the text bounding box used for detecting symbol collisions. Default value: 2. Minimum value: 0.

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

Parameters

textPadding

value of textPadding as Expression


val textPadding: Double?

Size of the additional area around the text bounding box used for detecting symbol collisions. Default value: 2. Minimum value: 0.