It seems to me that marker.closeInfoWindow() should work correctly. Have you tried to simply close the info window using the map? (map.closeInfoWindow)
On Mar 25, 8:12 am, A_diego_S <[email protected]> wrote: > Hello, > > My problem is that when I delete a marker, I need eliminate the > infowindow asociated. > > --------------------------------------------------------------------------- > --------- > MY CODE: > marker.addEventListener(MapMouseEvent.CLICK, function > (e:MapMouseEvent):void { > marker.openInfoWindow(new InfoWindowOptions > ( { contentHTML:html } ) ); > > } ) ; > > ................................. > > marker.closeInfoWindow(); // --> This does nothing. > > --------------------------------------------------------------------------- > --------- > API REFERENCE: > > closeInfoWindow(): void > > Closes the info window if it is associated with this marker. > --------------------------------------------------------------------------- > --------- > > My problem is: "...if it associated with...". I don't know how > associating them; > > Thank you very much. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
