The reason I do that is to utilize the checkresize() so that the map is visible in ie and chrome
Sent from my iPhone On Aug 11, 2009, at 1:17 PM, Esa <[email protected]> wrote: > > > 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 -~----------~----~----~----~------~----~------~--~---
