Hello, Of course, I did. But it is different. I want to close the infowindow asociated with its marker only if I delete the marker. I don't want to close the infowindow if I delete any marker.
Sorry for my English. Thank you very much. On 25 mar, 13:43, Arothian <[email protected]> wrote: > 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 -~----------~----~----~----~------~----~------~--~---
