lre*_*old 21
两年后,IMO 谷歌地图地理编码API是最好的方式.
只需将邮政编码作为地址参数传递:
http://maps.googleapis.com/maps/api/geocode/json?address=94043&sensor=false
Run Code Online (Sandbox Code Playgroud)
Anu*_*rag 11
您需要一项进行地理编码的服务.
雅虎的Geocoder API在全球范围内取得了更好的成绩.
110021是新德里和世界上其他几个地方的邮政编码.
这似乎让他们全部.
谷歌地图API是另一个这样的服务,但我对地理编码的结果不满意,因为我没有得到所有结果110021.
geocoder = new google.maps.Geocoder();
geocoder.geocode({ 'address': '110021'}, function(results, status) {
console.log(results);
});
Run Code Online (Sandbox Code Playgroud)