textPadding

abstract fun textPadding(textPadding: Double = 2.0): SymbolLayer

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

Parameters

textPadding

value of textPadding


abstract 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.

Parameters

textPadding

value of textPadding as Expression