Hi Paul- In your click listener for markers, keep track of the currently clicked marker in a global variable. Then, create an event listener for MapEvent.INFOWINDOW_CLOSED, and in that function, call removeOverlay on that global marker variable.
- pamela On Thu, Apr 16, 2009 at 8:37 PM, [Paul Ferrie] <[email protected]> wrote: > > Can anyone shed any light on this? > > On Apr 15, 3:49 pm, "[Paul Ferrie]" <[email protected]> wrote: >> Hi guys, >> >> How do i remove the marker of the associated infowindow when the close >> button is pressed in the infowindow? >> >> Thanks > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API For Flash" 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-for-flash?hl=en -~----------~----~----~----~------~----~------~--~---
