Polygon
Create a polygon from an array of LatLng points.
constructor(latlngs: Array<Array<LatLng>>, options: Polyline.PolylineOptions = definedExternally)(source)
Parameters
latlngs
An array of arrays of LatLng, with the first array representing the outer shape and the other arrays representing holes in the outer shape.
constructor(latlngs: Array<Array<Array<LatLng>>>, options: Polyline.PolylineOptions = definedExternally)(source)
Parameters
latlngs
a multi-dimensional array to represent a MultiPolygon shape.