withFillPattern

Set fill-pattern to initialise the polygonAnnotation with.

Name of image in sprite to use for drawing image fills. For seamless patterns, image width and height 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

fillPattern

the fill-pattern value

fun withFillPattern(fillPattern: String): PolygonAnnotationOptions