> I just did what Rossko said, putting just 2 "toAddress" for make it work,
You have
setDirections("Badalona", "Barcelona", "es");
which calls
function setDirections(fromAddress, toAddress1, toAddress2, locale)
so "es" gets used as 'toAddress2' and 'locale' is null.
try
setDirections("Badalona", "Barcelona", " ", "es");
but have a think about how you could restructure it to avoid this
problem.
--
You received this message because you are subscribed to the Google Groups
"Google Maps API V2" 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.