iconColorSaturation

open override fun iconColorSaturation(iconColorSaturation: Double): SymbolLayer

Controls saturation level of the symbol icon. With the default value of 1 the icon color is preserved while with a value of 0 it is fully desaturated and looks black and white.

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

Parameters

iconColorSaturation

value of iconColorSaturation


open override fun iconColorSaturation(iconColorSaturation: Expression): SymbolLayer

Controls saturation level of the symbol icon. With the default value of 1 the icon color is preserved while with a value of 0 it is fully desaturated and looks black and white.

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

Parameters

iconColorSaturation

value of iconColorSaturation as Expression


Controls saturation level of the symbol icon. With the default value of 1 the icon color is preserved while with a value of 0 it is fully desaturated and looks black and white.