Google Geocode region works only in certain cases

前端 未结 1 1404
萌比男神i
萌比男神i 2021-01-23 12:33

I think this is a bug and I\'m going to find out where to submit it to Google but I figured I\'d ask here first in case I\'m just doing something wrong or misinterpreting someth

1条回答
  •  情深已故
    2021-01-23 13:20

    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

    0 讨论(0)
提交回复
热议问题