Returns the bounds of the current map view, as a list in the format [west, south, east, north] in degrees.
Usage | Returns |
---|---|
Map.getBounds(asGeoJSON) | GeoJSONGeometry|List |
Argument | Type | Details |
---|---|---|
asGeoJSON | Boolean, optional | If true, returns map bounds as GeoJSON. |