withLinePattern

Set line-pattern to initialise the polylineAnnotation with.

Name of image in sprite to use for drawing image lines. For seamless patterns, image width must be a factor of two (2, 4, 8, ..., 512). Note that zoom-dependent expressions will be evaluated only at integer zoom levels.

Return

this

Parameters

linePattern

the line-pattern value

fun withLinePattern(linePattern: String): PolylineAnnotationOptions