You create the map twice. Lines 26 and 123 are equal:
map = new GMap2(document.getElementById("map_canvas"), mapOptions);
mapOptions is a local variable of initialize() function and therefor
the second map constructor throws an error "mapOptions is undefined".
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---