textOptional

open override fun textOptional(textOptional: Boolean): SymbolLayer

Set the TextOptional property

Parameters

textOptional

value of textOptional

open override fun textOptional(textOptional: Expression): SymbolLayer

Set the TextOptional 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.