Thanks for your suggestions.

I added map.checkResize() after changing the dimensions of the div,
and tried moving removeoverlay to before the changes.

This caused the same error messages, but different behaviour. In IE7
multiple copies of the overlay remain on the map, whereas on firefox
it didn't appear at all.

Tried putting the overlay moving functions into a settimeout call of
two seconds.  This has revealed that although the removeoverlay()
command is what causes the errors, the error is actually triggered
when the div containing the map is resized. i.e. the error occurs the
next time I resize the div following removing a GScreenOverlay using
removeOverlay().

I've updated the example to show this:
http://www.whatgas.com/resizetest.aspx

Thanks,


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