> If you really need to update and then immediately remove the polyline, > add a short delay before doing theremoveOverlay()
I seem to be running into the same problem. I suspected something like what you describe (race condition between background rendering and foreground thread) to be the cause, so I delayed the removeOverlay until after I receive the addoverlay event. However, this doesn't seem to help. Is there any event that *reliably* occurs *after* the polyline *really* has been drawn and connected properly so that calling removeOverlay for it is safe? Thanks, -- Axel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
