withLineOffset

fun withLineOffset(lineOffset: Double): PolylineAnnotationOptions

Set line-offset to initialise the polylineAnnotation with.

The line's offset. For linear features, a positive value offsets the line to the right, relative to the direction of the line, and a negative value to the left. For polygon features, a positive value results in an inset, and a negative value results in an outset.

Return

this

Parameters

lineOffset

the line-offset value