2

I'm trying to get the street name in multiple languages from the Google Maps API V3. For example in Belgium there are multilingual street names:

enter image description here

If i set the language=FR i will get "Rue Brogniez" and language=NL results "Brogniezstraat".

How can i get these names together in one geocoder.geocode call?

1 Answer 1

1

You will find the answer by reading these two links: Google Geocoder Region Codes and IANA language subtags

In real usage a request would look something like this:

var geocoder = new google.maps.Geocoder();
    geocoder.geocode({"address": your_address_string, "region": "NL"}, function(results, status){
    if(status == google.maps.GeocoderStatus.OK){
        //do what you want to do here
        //to reach the full formatted address, use results[0].formatted_address
    }
})

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.