iconOffset

open override fun iconOffset(iconOffset: List<Double>): SymbolLayer

Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up. Default value: 0,0.

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

Parameters

iconOffset

value of iconOffset


open override fun iconOffset(iconOffset: Expression): SymbolLayer

Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up. Default value: 0,0.

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

Parameters

iconOffset

value of iconOffset as Expression


Offset distance of icon from its anchor. Positive values indicate right and down, while negative values indicate left and up. Each component is multiplied by the value of icon-size to obtain the final offset in pixels. When combined with icon-rotate the offset will be as if the rotated direction was up. Default value: 0,0.