Directions locale

Feb 23, 2008 at 6:16 PM
Edited Feb 23, 2008 at 6:17 PM

In previous project I provided a property to my GDirections object for the locale.
By doing that I was able to specify the locale when requesting directions giving the user direcions in his own language.
I could change the local on demand from within my code.

Would you like to implement this property?

function setDirections(fromAddress, toAddress, locale) {
gdir.load("from: " + fromAddress + " to: " + toAddress,
{ "locale": locale });


Feb 23, 2008 at 7:38 PM
Hi Jeroen,
I will implement that for sure.
Nice tip. Thanks
Feb 23, 2008 at 8:04 PM
Hi Velio,

you can implement this by passing GDirectionsOptions in your config structure.
See and for details.

Regards, keep on the good work,

Feb 28, 2008 at 6:12 AM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.