iconColor

open override fun iconColor(iconColor: String): SymbolLayer

The color of the icon. This can only be used with /help/troubleshooting/using-recolorable-images-in-mapbox-maps/. Default value: "#000000".

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

Parameters

iconColor

value of iconColor


open override fun iconColor(iconColor: Expression): SymbolLayer

The color of the icon. This can only be used with /help/troubleshooting/using-recolorable-images-in-mapbox-maps/. Default value: "#000000".

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

Parameters

iconColor

value of iconColor as Expression


open override fun iconColor(@ColorInt iconColor: Int): SymbolLayer

The color of the icon. This can only be used with /help/troubleshooting/using-recolorable-images-in-mapbox-maps/. Default value: "#000000".

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

Parameters

iconColor

value of iconColor


The color of the icon. This can only be used with /help/troubleshooting/using-recolorable-images-in-mapbox-maps/. Default value: "#000000".