Martin Matysiak
unread,Jan 20, 2011, 10:40:34 AM1/20/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to google-map...@googlegroups.com
Doing it the Non-AJAX way, just add a HTML Form with a drop-down selector. The values of the options contain the language codes. Upon selection the form will be submitted, and your PHP script pastes the language tag into the maps api url.
If you want to change it dynamically though, you probably can fetch the localized api afterwards (and it should probably overwrite the existing one), but if I'm correct you would also have to recreate your google.maps.Map object in order to see the localized strings.
But anyway, there is no internal function inside the google maps API to change the language. You have to do it manually, one way or another