跳到主要内容

flywave-draw-controls.drawpolygon._constructor_

Home > @flywave/flywave-draw-controls > DrawPolygon > (constructor)

DrawPolygon.(constructor)

Constructs a new instance of the DrawPolygon class

Signature:

constructor(mapView: MapView, vertices?: GeoCoordinates[], id?: string);

Parameters

Parameter

Type

Description

mapView

MapView

vertices

GeoCoordinates[]

(Optional)

id

string

(Optional)