PolygonOptions
fun PolygonOptions(coordinates: List<GeoPoint>, outlineColor: Color = Color.TRANSPARENT, @FloatRange(from = 0.0) outlineWidth: Double = DEFAULT_OUTLINE_WIDTH, fillColor: Color = DEFAULT_FILL_COLOR, image: Image? = null, isImageOverlay: Boolean = false, isClickable: Boolean = true)
Parameters
coordinates
Coordinates of the Polygon.
outlineWidth
Width of the outline of the Polygon overlay.
isImageOverlay
If true, the Image is scaled to cover the whole polygon. If false, the original size is preserved and is repeated starting from the South-West corner of the polygon's bounding rectangle.
isClickable
Sets if the polygon is clickable, if this parameter is false then clicks will be propagated to objects that are below polygon.