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.

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.

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

Parameters

textOptional

value of textOptional as Expression

val textOptional: Boolean?

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