withIconOffset

fun withIconOffset(iconOffset: List<Double>): PointAnnotationOptions

Set icon-offset to initialise the pointAnnotation with.

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 {@link PropertyFactory#iconSize} to obtain the final offset in density-independent pixels. When combined with {@link PropertyFactory#iconRotate} the offset will be as if the rotated direction was up.

Return

this

Parameters

iconOffset

the icon-offset value