Yes, the closeInfoWindow has never worked for me either. I had to place the hasclosebutton = true in the OpenInfoWindowOptions and that will close the window, but I could not execute the close window command. It'll be helpful to know how it works, if it does.
On Wed, Mar 25, 2009 at 8:43 AM, 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 -~----------~----~----~----~------~----~------~--~---
