/mapview/getBounds

Exports a utility method which must be assigned to a mapview object.

Parameters:
NameTypeDescription
sridstring

Optional spatial reference identifier as string.

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:
NameTypeAttributesDescription
sridstring<optional>

The returned bounding box will be transformed to the coordinate system SRID.

Returns:

Bounding box extent {east, north, south, west}

Type: 
object