It turns out to be a bug in clearOverlays(), introduced in v2.157. See Issue 1541 for details.
http://code.google.com/p/gmaps-api-issues/issues/detail?id=1541 The workround is: use v2.156 or earlier or call map.removeOverlay() on your layer just before calling map.clearOverlays() or keep an array of references to overlays you actually do want to remove and avoid clearing the GLayer -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
