GeoJSONPolygonToBBox

Function

Turns a geojson polygon in to a bounding box coordinate array

Turns a geojson polygon in to a bounding box coordinate array

  • GeoJSONPolygonToBBox(polygon: Partial<Polygon>) : BBox

Parameters

Parameter Type Default Notes
polygon Required Partial<Polygon>

Returns

BBox

Property Type Notes

Function defined in common/src/extent.ts:219