/mapview/getBounds
Exports a utility method which must be assigned to a mapview object.
Parameters:
Name | Type | Description |
---|---|---|
srid | string | Optional spatial reference identifier as string. |
- Source
Returns:
Bounds object
- Type:
- Object
Methods
(inner) getBounds(sridopt) → {object}
The getBounds method is assigned to the mapview object [_this].
The extent of the mapview view[port] will be calculated and returned as an object with east, north, south, west float properties.
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
srid | string | <optional> | The returned bounding box will be transformed to the coordinate system SRID. |
- Source
Returns:
Bounding box extent {east, north, south, west}
- Type:
- object