You were right, I needed a sidebar in order to trigger the "parsed"
event, I managed to add it and it's now working
Now I can reach each of my polys in order to trigger other events.
Do you know how to make the onOver & onOut polygon events firing
faster?
I saw on this site : "http://www.funda.nl/koop/kaart/#/heel-
nederland/" a pretty way to deal with Lance's GeoXml but js is
obfuscated...
I would like to make my polygons more reactive with these events
(should I get another API version maybe?).
my page is actually : http://massaliavida.free.fr/map/mapkml2.html

Thank you for your advices.

On 4 juin, 18:23, Garthan <[email protected]> wrote:
> your variables will likely need to be global for much to work
> escpecially in ie.
> Your variable no longer really exists if it is defined in the load
> function but isnt global. Post a page showing how you arent
> understanding making variables global.
>
> outside function
> var exml, map;
>
> inside function
> map = new GMap(etc);
> exml = new GeoXml(etc);
>
> I seem to recall there were issues at one point if you didn't have a
> sidebar
> which resulted in the parsed event not firing, though I believe that
> is fixed.
>
> On Jun 4, 5:21 am, Niko <[email protected]> wrote:
>
> > 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to