获取最近的100个邮政编码纬度和经度

时间:2014-07-31 12:21:45

标签: api google-maps jquery-gmap3

在Google地图中搜索邮政编码时,

我想获得最近的100个邮政区域代码&纬度和经度。

var postData = {
     'value'   : CF242DE,
  };
$.ajax({
     type: "POST",
     url:'http://maps.googleapis.com/maps/api/geocode/json?address='+value+'&sensor=false',
 success: function(msg)
     {
"lat":'+msg.results[0].geometry.location.lat+',
"lng":'+msg.results[0].geometry.location.lng+'
}

如果使用Api以上,

我只会获得邮政编码区域的纬度和经度。

蚂蚁方式是获得最接近100个邮政区域的纬度和经度。

0 个答案:

没有答案
相关问题