Google Maps API Geocode Postal Code and set Country code?

后端 未结 2 727
星月不相逢
星月不相逢 2021-02-05 12:53

I\'m using this API call to Google Maps to get the latitude and longitude of a postal code

http://maps.googleapis.com/maps/api/geocode/json?address=2340&sensor=false

2条回答
  •  鱼传尺愫
    2021-02-05 13:33

    The documentation says that Region Biasing is based on CcTLDs, which would make Australia au (haven't tried it myself).

    Although it also states this:

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

提交回复
热议问题