【发布时间】:2016-01-19 07:48:02
【问题描述】:
我看到邮政编码 22222 是美国弗吉尼亚州阿灵顿的邮政编码,但是当从 Google Map api 搜索时,它没有显示国家名称美国
http://maps.googleapis.com/maps/api/geocode/json?address=22222
请让我知道我在这里做错了什么?
我试过http://maps.google.com/maps/api/geocode/json?components=country:US|postal_code:22222&sensor=false 这没有给出结果,这意味着美国没有 zipcode=22222 但在互联网上 22222 属于美国弗吉尼亚州
【问题讨论】:
-
它如何知道您要使用该邮政编码查找哪个国家/地区?我想你需要这种格式maps.google.com/maps/api/geocode/…
标签: google-maps google-maps-api-3 google-api geocode google-geocoding-api