But it's not the GDirections class I use. I'm using the GClientGeocoder class to geocode and adress to a lng/lat.
//Magnus On Apr 1, 3:10 pm, "[email protected]" <[email protected]> wrote: > On Apr 1, 1:04 am, "Magnus O." <[email protected]> wrote: > > > > > Hi!, > > > It seems like the answers from the getLocations method in > > GClientGeocoder is not localized. > > > I have loaded the maps api like this: > > > google.load("maps", "2", {"locale" : "sv"}); > > google.setOnLoadCallback(initMap); > > > The maps is in swedish but when I perform a search with getLocations > > (string street) the answers are in english. > > > I traced a search and found that the results where fetched > > with:http://maps.google.com/maps/geo?output=json&oe=utf-8&q=g%C3%B6te&gl=S... > > > If I add the hl=sv the results are translated to swedish. Why is the > > hl=sv parameter not set? > > GDirections has its own "locale" > option:http://code.google.com/apis/maps/documentation/reference.html#GDirect... > > -- Larry --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---
