iconSize

open override fun iconSize(iconSize: Double): SymbolLayer

Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by icon-size. 1 is the original size; 3 triples the size of the image.

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

Parameters

iconSize

value of iconSize

open override fun iconSize(iconSize: Expression): SymbolLayer

Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by icon-size. 1 is the original size; 3 triples the size of the image.

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

Parameters

iconSize

value of iconSize as Expression

val iconSize: Double?

Scales the original size of the icon by the provided factor. The new pixel size of the image will be the original pixel size multiplied by icon-size. 1 is the original size; 3 triples the size of the image.