> GEvent.addListener(exml, "parsed", function(){
> exml.parse();
errrm, you are setting a listener, that when triggered, would kick off
the event it is listening for the end of ... before it can be kicked
off. In other words, the cart is before the horse.
Have you considered sequencing things something like ...
window.onload=dothings;
function dothings () {
.... do the map initialising ....
exml = new EGeoXml("exml" ....
GEvent.addListener(exml, "parsed", function(){
... do the infowindow stuff ...
}
exml.parse();
}
--
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.