// 创建地理编码实例
var myGeo = new BMap.Geocoder();
// 根据坐标得到地址描述
myGeo.getLocation(point, function(result){
var boundary = result.addressComponents.city+result.addressComponents.district;
getBoundary(boundary);
});
时间: 2024-09-30 11:30:37