mapstraction/mxn

Locale setting for geocoding

Opened this issue · 0 comments

Some point to address geocoding services take locales into account translating address to given language. For googlev3.geocoder I had to set it in the file:

var geocode_request_object = {'region': 'YOUR_LOCALE'};

BTW: I'm using slightly older code in this file than release-3.0 has, but geocode_callback wasn't using formatted_address from response and the geocoded address was incomplete (no street etc.).