思路:
得到百度地图可视区域-
可视区域的中心点
可视区域的四个角的其中两个(东北角+西南角)
搜索百度地图API接口:
http://lbsyun.baidu.com/cms/jsapi/reference/jsapi_reference.html#a1b2
getBounds()
![](https://i-blog.csdnimg.cn/blog_migrate/e21d97be255c06a963b3d8c6dc4b1d42.png)
结果:
思路:
得到百度地图可视区域-
可视区域的中心点
可视区域的四个角的其中两个(东北角+西南角)
搜索百度地图API接口:
http://lbsyun.baidu.com/cms/jsapi/reference/jsapi_reference.html#a1b2
getBounds()
结果: