// 获取地图可视化区域的坐标点 function getViewAreaPoint(map) { var bounds = map.getBounds(); console.log(bounds); var swPoint = bounds.getSouthWest(); var nePoint = bounds.getNorthEast(); var nwPoint = new BMap.Point(swPoint.lng, nePoint.lat); var sePoint = new BMap.Point(nePoint.lng, swPoint.lat); console.log(swPoint); console.log(nePoint); console.log(nwPoint); console.log(sePoint); }