On May 21, 2:22 pm, Rossko <[email protected]> wrote:
>
> How?

We can make a reasoned guess...

When you "destroy the map" by calling GUnload, you actually completely
remove all references to the API and its objects. So having done that
you cannot then attempt to create or use an API object again.

You should not be dynamically destroying and re-creating a map; even
without GUnload that's a recipe for massive memory leakage. You should
re-centre/zoom/re-populate an existing map, calling checkResize() if
you resize it as well.

-- 
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.

Reply via email to