Google Geocode API Longitude and Latitude unavailble for zip 96101

前端 未结 2 1589
野趣味
野趣味 2021-01-23 10:19

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

Although it i

2条回答
  •  失恋的感觉
    2021-01-23 10:46

    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.

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

提交回复
热议问题