GeoPolyline constructor
- List<
GeoCoordinates> vertices
Constructs a GeoPolyline from the provided vertices.
Throws an InstantiationError if the number of vertices is less than two.
verticesList of vertices representing the polyline.
Throws InstantiationException. Instantiation error.
Implementation
factory GeoPolyline(List<GeoCoordinates> vertices) => $prototype.$init(vertices);