百度.js添加圆形覆盖物并跟随中心点移动
// 修改经纬度
changeCenter(zooms) {
this.map.centerAndZoom(
new BMap.Point(this.addForm.longitude, this.addForm.latitude),
zooms || this.map.getZoom()
);
},
// 获取并设置地图中心点
getMapCenter() {
var pos = this.map.get.
原创
2021-10-26 14:10:00 ·
432 阅读 ·
0 评论