I took your advice and used a different way of doing what I want. Thanks. -Dane
On Fri, Jul 10, 2009 at 3:25 PM, Rossko <[email protected]> wrote: > > > Then, when you unload the map, GUnload is called: > > > > GUnload(); > > I don't think GUnload() is intended for that purpose at all ; it's > housekeeping for the API > http://code.google.com/apis/maps/documentation/reference.html#GUnload > Note that it doesn't say the map will be 'unloaded' or cleared, just > crippled. > > The next time you try to run map = new GMap2( ...) it'll fail because > there is already a broken map in that div. > > Why don't you just hide the map until the next time it's needed, much > less overhead, > > To avoid unexpected differences between browsers, you ought to declare > your objects with var = somewhere in your script, depending on what > scope you'd like them in. > > cheers, Ross K > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
