> The problem > with my approach is that if I remove overlay and recreate a new one I > loose all event handlers that I attached to the original polygon.
Depending what you're doing, you may be able to use a single listener on the map. When activated, it determines what to do and who to do it to (i.e. which poly). This is especially straightforward for click handling. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
