Class: BoundingBox

(abstract) bemap.BoundingBox(minLat, minLon, maxLat, maxLon)

Base class for boudingBox.

Constructor

(abstract) new BoundingBox(minLat, minLon, maxLat, maxLon)

Parameters:
Name Type Description
minLat double the minimal latitude of the bounding box.
minLon double the minimal longitude of the bounding box.
maxLat double the maximal latitude of the bounding box.
maxLon double the maximal longitude of the bounding box.
Source:

Members

(protected) maxLat :double

Type:
  • double
Source:

(protected) maxLon :double

Type:
  • double
Source:

(protected) minLat :double

Type:
  • double
Source:

(protected) minLon :double

Type:
  • double
Source:

Methods

getMax() → {bemap.Coordinate}

Get the maximal coordinates of the bounding box.
Source:
Returns:
the maximal coordinates.
Type
bemap.Coordinate

getMaxLat() → {double}

Get the maximal latitude of the bounding box.
Source:
Returns:
the maximal latitude.
Type
double

getMaxLon() → {double}

Get the maximal longitude of the bounding box.
Source:
Returns:
the maximal longitude.
Type
double

getMin() → {bemap.Coordinate}

Get the minimal coordinates of the bounding box.
Source:
Returns:
the minimal coordinates.
Type
bemap.Coordinate

getMinLat() → {double}

Get the minimal latitude of the bounding box.
Source:
Returns:
the minimal latitude.
Type
double

getMinLon() → {double}

Get the minimal longitude of the bounding box.
Source:
Returns:
the minimal longitude.
Type
double

setMax(max) → {bemap.BoundingBox}

Set the maximal coordinates of the bounding box.
Parameters:
Name Type Description
max bemap.Coordinate the new maximal coordinates to set.
Source:
Returns:
this;
Type
bemap.BoundingBox

setMaxLat(maxLat) → {bemap.BoundingBox}

Set the maximal latitude of the bounding box.
Parameters:
Name Type Description
maxLat double the new maximal latitude to set.
Source:
Returns:
this;
Type
bemap.BoundingBox

setMaxLon(maxLon) → {bemap.BoundingBox}

Set the maximal longitude of the bounding box.
Parameters:
Name Type Description
maxLon double the new maximal longitude to set.
Source:
Returns:
this;
Type
bemap.BoundingBox

setMin(min) → {bemap.BoundingBox}

Set the minimal coordinates of the bounding box.
Parameters:
Name Type Description
min bemap.Coordinate the new minimal coordinates to set.
Source:
Returns:
this;
Type
bemap.BoundingBox

setMinLat(minLat) → {bemap.BoundingBox}

Set the minimal latitude of the bounding box.
Parameters:
Name Type Description
minLat double the new minimal latitude to set.
Source:
Returns:
this;
Type
bemap.BoundingBox

setMinLon(minLon) → {bemap.BoundingBox}

Set the minimal longitude of the bounding box.
Parameters:
Name Type Description
minLon double the new minimal longitude to set.
Source:
Returns:
this;
Type
bemap.BoundingBox