withTextOffset

Set text-offset to initialise the pointAnnotation with.

Offset distance of text from its anchor. Positive values indicate right and down, while negative values indicate left and up. If used with text-variable-anchor, input values will be taken as absolute values. Offsets along the x- and y-axis will be applied automatically based on the anchor position.

Return

this

Parameters

textOffset

the text-offset value

fun withTextOffset(textOffset: List<Double>): PointAnnotationOptions