iconOptional

open override fun iconOptional(iconOptional: Boolean): SymbolLayer

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

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

Parameters

iconOptional

value of iconOptional

open override fun iconOptional(iconOptional: Expression): SymbolLayer

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

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

Parameters

iconOptional

value of iconOptional as Expression

val iconOptional: Boolean?

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