//必须要导入googleAPI才可以这么做 V3 var geocoder = new google.maps.Geocoder(); function parseAddress (weidu,jingdu,id){ if(document.getElementById(id)!=null){ geocoder.geocode({"address":weidu+","+jingdu}, function(results,status) { if (status == google.maps.GeocoderStatus.OK) { document.getElementById(id).innerHTML=results[0].formatted_address; } }); } }
详细解决方案
经过经纬度获取地址信息(googleMap v3)
热度:660 发布时间:2012-10-13 11:38:17.0