> http://www.whatgas.com/resizetest.aspx
> ...
> The problem is in the call to 'map.removeOverlay()'.  It does remove
> the overlay as desired, but generates these error messages.

Your resizemap() function changes the size of the <div> the map lives
in, and afterwards removes the existing GSScreenOverlay.
I'd guess the API has lost track of that overlay because of the
external resize.

You could try removing the overlay before the <div> resizing.

I think the better, more generalised, approach would be to use the
map's checkResize() function -
   
http://code.google.com/apis/maps/documentation/reference.html#GMap2.checkResize
which should allow the API to sort everything out.

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

Reply via email to