0
  1. https://maps.googleapis.com/maps/api/geocode/json?components=postal_code:01133&sensor=false 预期- 返回国家/地区的结果=US,“formatted_address”:“Springfield..”
    实际- 返回国家/地区的结果= LT, "formatted_address" : "维尔纽斯 01133, 立陶宛"

  2. https://maps.googleapis.com/maps/api/geocode/json?components=postal_code:07477&sensor=false 预期- 返回国家=美国的结果,“formatted_address”:“Wayne, New Jersey..”
    实际- NO_RESULTS

需要做什么才能通过美国邮政编码查询并获取美国地址组件作为响应?

4

1 回答 1

0
  1. 我希望维尔纽斯和圣保罗,因为两者都有 01133(邮政编码不是唯一的)
  2. 是的,这是 Google 的问题,因为 07470 是新泽西州韦恩的“主要”邮政编码

在此处查看邮政编码:

http://www.geopostcodes.com/index.php

广告 1. 我发现的斯普林菲尔德(马萨诸塞州斯普林菲尔德)的类似邮政编码:01101、01103-01105、01107-01109、01119、01128、01129、01151 - 不是 01133

于 2013-08-14T12:05:04.873 回答