> I'm trying to add a listener on a polygon loaded with a kml file. I
> tried to do like this :

You can't do it like that using GGeoXml.  It doesn't create just one
'thing' it's more like a whole layer (what if your KML contained more
polys and markers, which it might)

You can add things to the KML to show on click.  If you want something
more complex, it can be done by using alternative means.  Example -
http://groups.google.com/group/Google-Maps-API/browse_thread/thread/67d8eaf5f2e2b215/504b5aaabae96f4a?lnk=gst&q=kml+poly+click#504b5aaabae96f4a

cheers, Ross K

--~--~---------~--~----~------------~-------~--~----~
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