Hi all. At first, please consider http://satbeams.ttalex.com/footprints?beam=5267 as context of my question.
Now the question. We have a need to retrieve <Placemark>'s <name>, which is loaded from KML file via GGeoXml, when user clicks it. The only way to do so (as we found in API Reference) is 1. to listen the "infowindowopen" event, 2. then use GInfoWindow's getContentContainers(), 3. parse HTML and retrieve the <Placemark>'s <name>, 4. then closeInfoWindow(). It is ugly. And the whole problem is much worser. After we retrieve <name>, we place the GMarker on clicked point. Later user can direct us to load new KML file via GGeoXml, but after new <Placemark> is loaded, we cannot programmatically trigger "infowindowopen" event on a <Placemark> just UNDER GMarker. Does anybody know way to do this trick? Or (it will be better) any other way to retrieve <Placemark>'s <name> on given GLatLng? Thanks. -- Aleske --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
