Hi there, First of all I want to say thank you for making kml layers work in V3! It looks fantastic!
I'm trying to capture metadata information from KML layer click event and it works great. The problem i'm having is that I'm displaying that information in my own 'result panel' and i'm not using infoWindow object, so when I clicked on polygon it fires the result, but there is no way how you can select polygon you just clicked on? I'm looking for a way of changing style of a polygon you just clicked on from the kml layer. Or possibly creating a new google.maps.Polygon object on top of kml layer, but again I seems like there is no way to get clicked polygon's coordinates from onClick event? The other option would be creating a marker to "identify" the polygon, but I can only get clicked location, not the center of the polyogon... so, not acceptable. How I understand it, the only way to do it is to parse KML file, is that right? Are you considering adding this type of functionality to KML layers? Thank you, Regards, Dmitry M. -- You received this message because you are subscribed to the Google Groups "Google Maps JavaScript API v3" 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-js-api-v3?hl=en.
