Hello team , I'm also trying like Carlene to make treatments on the data I loaded on my map, but I can't catch the "parsed" event. I am not really good at js, but I'm learning, here's my page: http://massaliavida.free.fr/map/mapkml.html Would you please tell me why I can't get the alert msg in the listener function? Is it a matter of global/local variable? because I saw many discussions dealing about that without explaining it in details. When I make the GeoXml object global (var exml, map; at the beginning of the script) I can't load my kml, nothings occur... I saw that parsed event in previous version had problem to be triggered with non kml data but I don't think it applies to my case (moreover the problem has been fixed)
What I am trying to do is to reach my kml polygon data, in order to add specific click/onmouseover/onmouseout events. Would it be a better wayto do it modifying geoxml.js? if yes, how? If no, what is the better way to modify my data once loaded? Thanks in advance for your support, I'm really stuck right now... On 14 mai, 03:57, Lance Dyas <[email protected]> wrote: > Andrew Leach wrote: > > On May 13, 10:00 pm, Carlene <[email protected]> wrote: > > >> I'm using Dyas' geoXML, and almost have it right how I want it. > > >> Right now, I'm looking to see how I would go about having a script > >> fire after all of the KML files are loaded. > > >> I am loading 3 KML files currently, and would like to load an > >> accordion-type script to collapse the sections of each and take up > >> less space. But this script needs to launch after all the markers are > >> loaded, otherwise it won't include all of the data. > > > Presumably GeoXml allows a callback function which is run once the > > data is loaded, and you're using that to build your sidebar. What I > > would do is... > > GeoXml throws an event you can add a listener for after each kml gets > finished parsing ... but other than that > the method to accomplish this is pretty much what you just described. > > [multipart_alternative_part< 1 000 ] > > > > No virus found in this outgoing message. > Checked by AVG -www.avg.com > Version: 8.0.238 / Virus Database: 270.12.27/2112 - Release Date: 05/13/09 > 07:04:00 --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
