textOptional

open override fun textOptional(textOptional: Boolean): SymbolLayer

If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not. Default value: false.

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

Parameters

textOptional

value of textOptional


open override fun textOptional(textOptional: Expression): SymbolLayer

If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not. Default value: false.

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

Parameters

textOptional

value of textOptional as Expression


If true, icons will display without their corresponding text when the text collides with other symbols and the icon does not. Default value: false.