// 创建地理编码实例
var myGeo = new BMap.Geocoder(); // 根据坐标得到地址描述 myGeo.getLocation(point, function(result){ var boundary = result.addressComponents.city+result.addressComponents.district; getBoundary(boundary); });本文共 258 字,大约阅读时间需要 1 分钟。
// 创建地理编码实例
var myGeo = new BMap.Geocoder(); // 根据坐标得到地址描述 myGeo.getLocation(point, function(result){ var boundary = result.addressComponents.city+result.addressComponents.district; getBoundary(boundary); });转载于:https://www.cnblogs.com/GNblog/p/7111916.html