back
|
source
Map bound
How to set bounding box of the map
map.bound({ minLon: 100, minLat: 13, maxLon: 101, maxLat: 14 });
Argument: scope of coordinates
Example
coordinates 100, 13 - 101, 14
Map bound
var result = map.bound();
No argument: current bounding box