Hello, I've been porting some code for a University campus map to V3 and I'm having a lot of trouble with one particular issue I can't trace to anything I've written.
I am importing KML from maps.google.com using KmlLayer. In the V2 version of this code, I was using GGeoXML. On both versions, I am creating and adding Polygons to the map as well. If I register a click handler for any of these polygons, the KML Layer objects become inoperable. Any advice on how to get this working like it should would be valuable. I spent a significant amount of time searching google groups for references to this problem, and I did find one post, but no one had to say anything about this particular issue. A sample file can be found below. As you will note, I am not using the suppressInfoWindows parameter. I even tried setting it to false at one point. http://angilas.ur.northwestern.edu/~leeroberson/maptest.html If you comment out foo.setMap(map), the click event for the polygon fires. Otherwise, it does not. Surely there must be a way to get KML Layers to display info windows and polygons to have their own click events on the same map? -- 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.
