Google地理编码 - 将地址翻译为英语

时间:2015-01-20 10:44:27

标签: google-maps reverse-geocoding

是否可以使用反向地理编码进行地址转换?

我在请求参数中找不到对语言的任何引用。

此致 阿瑞。

2 个答案:

答案 0 :(得分:0)

指出其他已经回答的消息来源:

(虽然答案是通过谷歌搜索获得的......)

How can I reverse geocode with google maps api?

https://developers.google.com/maps/documentation/javascript/examples/geocoding-reverse

答案 1 :(得分:-1)

你问这个吗?

function geocodePosition(pos) {
            geocoder = new google.maps.Geocoder();
          geocoder.geocode({
            latLng: pos
          }, function(responses) {
            if (responses && responses.length > 0) {
              document.getElementById('event_venue').value = responses[0].formatted_address;
            } else {
              alert('Cannot determine address at this location.');
            }
          });
        }
相关问题