View Full Version : Driving directions in different languages
info105077
05-20-2009, 06:57 AM
Hi, am I missing something obvious but has anyone been able to return the driving directions in a different language ie spanish? I have seen a site which says you add a locale option to the .loadfromwaypoints in the google api. is this easy to change in the webassist JS or even better to be selectable via a form. Thanks in advance
Ray Borduin
05-20-2009, 07:37 AM
You could change or actually add this option in the .js if you know about javascript and can follow the google maps API it shouldn't be difficult to add.
info105077
05-20-2009, 07:44 AM
Hi Ray
really sorry but you are talking to a real newbie, I wondered if it was easy any thoughts
Ray Borduin
05-20-2009, 07:49 AM
It is pretty easy... but I guess maybe not for a real newbie.
This is not a directly supported feature in the user interface and there are no directly related tutorials or examples that I know of... so maybe it isn't easy.
Easy is a relative term, so I guess if you are asking about it by definition it isn't easy for you.
info105077
05-20-2009, 09:24 AM
Thanks again Ray, think you've got me sussed, would the javascript return the correct language if I added a javascript request from the head tag or is all the processing really done by the web assist JS, apologies for hounding you and wondering whether I should submit a suggestion/request to the site for this and whether it'd be difficult to implement. I just love the ease of pro maps and webassist have done such a great job so far getting me started on php/mysql.
Ray Borduin
05-20-2009, 09:26 AM
It is probably a matter of adding one line to the created map .js file. You would have to look at the maps api and be able to understand the javascript to add the code at the correct spot.
info105077
05-20-2009, 09:44 AM
Right O ray if I crack it i'll post it up!
vBulletin® v3.8.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.