flywave-draw-controls.drawline._constructor_
Home > @flywave/flywave-draw-controls > DrawLine > (constructor)
DrawLine.(constructor)
Constructs a new instance of the DrawLine class
Signature:
constructor(mapView: MapView, vertices?: GeoCoordinates[], id?: string);
Parameters
Parameter | Type | Description |
|---|---|---|
mapView | MapView | |
vertices | GeoCoordinates[] | (Optional) |
id | string | (Optional) |