邮政编码96101的Google Geocode API经度和纬度不可用 [英] Google Geocode API Longitude and Latitude unavailble for zip 96101
问题描述
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屋!