Google Geocode region works only in certain cases

微笑、不失礼 提交于 2019-12-02 07:27:45

From the documentation:

Note that biasing only prefers results for a specific domain; if more relevant results exist outside of this domain, they may be included.

To restrict the results to a specific country use Component Filtering

e.g. https://maps.googleapis.com/maps/api/geocode/json?address=manchester&components=country:US

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!