~~polygon()~~
polygon(
latlngs:LatLngExpressionMultiPolygonShape,options?:PolylineOptions):Polygon
Defined in: leaflet/vector/polygon.ts:229
Parameters
| Parameter | Type |
|---|---|
latlngs |
LatLngExpressionMultiPolygonShape |
options? |
PolylineOptions |
Returns
Polygon
Deprecated
Creates a new Polygon instance.