What I finally did is:
1) on the Kml file, every polygon has its identifier on the name tag
2) on the js code, once the kml is added via GeoXml, I add a listener
on the map for the infowindowopen event, where:
a) I get the identifier:
map.getInfoWindow().getContentContainers()
[0].childNodes[0].textContent.split
b) ajax call to get the information
c) re-fill the infowindow:
map.getInfoWindow().getContentContainers()
[0].innerHTML="..."
Do you think it is a good way to go or may i have problems in the
future?
thanks!!
On 9 Abr, 17:23, Lance Dyas <[email protected]> wrote:
> or the html could include a small iframe that gets the dynamic data from
> anothersource
--
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.