thanks for your prompt reply !
> I'm not sure what "overlay is lost" means. Have you tried using null
> instead of undefined? The function you quote doesn't appear to need
> the overlay passed to it.
>
what I mean by lost is when I include this parameter (even null,
undefined, '') the overlay seems overidded in the function
MapClickHandler(overlay, latlng)
> The only way of getting a marker at a particular location is to write
> your own function which loops through all your markers and returns the
> one which matches. To do that you would need to retain a reference to
> every marker you add, probably in a global array.
>
I'm using GGeoXml to display all markers presents in the KML, I dont
know how to retriewe an array of markers when using this class, since
the only code I wrote is :
geoXml = new GGeoXml(my_kml_url, function()
if(geoXml.loadedCorrectly())
map.addOverlay(geoXml);
again, thanks !
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---