Polygon()
constructor
Inherits from Path
Polygon class is responsible for drawing polygon geometry on the map using the VectorLayer
Parameter | Type | Description |
---|---|---|
coords | Array | The list of coordinates used to draw the polygon |
options | Object | Path's options |