What do you want the listener to do? If you simply want an infoWindow,
a listener is not necessary for kml. If you have a <description> tag
that is sufficient to display an infoWindow on click.

On Jul 21, 8:33 pm, fperet <[email protected]> wrote:
> On 21 июл, 19:17, Rossko <[email protected]> wrote:
>
> > > I need some sort of advice. How can i attach listener on each
> > > <placemark>  (<linearring>) of .kml file?
>
> > Guessing we are talking about Maps API v2, the topic of this group.
> > What are you using to parse your KML, GGeoXml ?
>
> I'm planning to. But i haven't got any idea of how can i sample
> <placemark>'s from it. In other words how can i convert <placemark> in
> to an object to which can be added a listener.

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