邮政编码96101的Google Geocode API经度和纬度不可用 [英] Google Geocode API Longitude and Latitude unavailble for zip 96101

查看:134
本文介绍了邮政编码96101的Google Geocode API经度和纬度不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用google geocode api,

I am using google geocode api, https://developers.google.com/maps/documentation/geocoding/intro. For zipcode 96101 , it is returning "No Results Found".

尽管它是可用的 https://www.google.com/maps?q=96101+zip+code&um=1&ie=UTF-8&sa=X&ved=0ahahEwid57W5k- 这里

有什么主意吗?

推荐答案

在地理编码API中很难找到5位邮政编码,有时甚至用国家名称也很难找到,因为它们在世界范围内令人惊讶地模棱两可.有关更多详细信息,请参见 https://issuetracker.google.com/73030863 .

5-digit postal codes are hard to find in the Geocoding API, sometimes even with country name, because they are surprisingly ambiguous in a worldwide context. See https://issuetracker.google.com/73030863 for more details.

有一种解决方法,可以使用带有特定参数的Places API自动完成功能.

There is a workaround there which is to use Places API Autocomplete with specific parameters.

这篇关于邮政编码96101的Google Geocode API经度和纬度不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆