Polyline

constructor(latlngs: ReadonlyArray<LatLng>, options: Polyline.PolylineOptions = definedExternally)(source)

Create a polyline from an array of LatLng points


constructor(latlngs: ReadonlyArray<ReadonlyArray<LatLng>>, options: Polyline.PolylineOptions = definedExternally)(source)

Parameters

latlngs

pass a multi-dimensional array to represent a MultiPolyline shape