bboxStringToGeoJSONPolygon

Function

Given a bounding box string, e.g. "126.2274169922485, -42.559149812106845, -25.647583007805757, 83.1100826092665", convert it into a geojson Polygon object

  • bboxStringToGeoJSONPolygon(bbox: string) : Polygon

Parameters

Parameter Type Default Notes
bbox Required string

The bounding box string

Returns

a geojson Polygon object derived from the given bounding box string

Polygon

Function defined in packages/common/src/search/_internal/bboxStringToGeoJSONPolygon.ts:9