Maps API getBounds () method
Examples
Returns the current viewport southwest latitude / longitude and north latitude / longitude:
map.getBounds();
try it"
Definition and Usage
getBounds () method returns the current viewport southwest latitude / longitude and north latitude / longitude.
grammar
mapvariable.getBounds();
return value
值 | 描述 |
---|---|
(south-west latitude, longitude),(north-east latitude, longitude) | 从点的西南角和东北角规定一个矩形。 |