type | Array ( GeoJSON bounding box ) |
---|---|
default | [ -180, -85, 180, 85 ] |
init |
|
get |
|
set |
|
The bboxMax property calculates or modifies a bounding box that surrounds all of the data you wish to show in the map. Users can pan the map once they reach bboxMax but cannot zoom out further.
This property is a JavaScript array consisting of four values which can be thought of as: minx, miny, maxx and maxy of the maximum map view you wish to allow in map units and in that order.
Setting a new bboxMax will not refresh the map services.
A bboxMax property must be set properly for shinged (dynamic) services if you wish to use the zoom property since the value of the map's zoom is based on a ratio between the current bbox and bboxMax. If you have a fully dynamic map by setting tilingScheme to null, you should explicitly set bboxMax.