That's odd, b/c the polygon being unclickable should have resolved the issue for the polygon capturing the click event.
You know something you could do, add a map click event and return the overlay clicked in the event handler for the map click event. That should be able to give him a good idea of what was actually capturing the click event. On Fri, Jul 2, 2010 at 3:38 PM, [email protected] <[email protected]>wrote: > On Jul 2, 1:24 pm, Nathan Raley <[email protected]> wrote: > > Rofl, I completely overlooked that, he said he had set them to > > clickable:false and assumed that was what he had. > > The "clickable:false" change wasn't what fixed it for me, it was the > change from GPolygon to GPolyline. > > -- Larry > > > > > On Fri, Jul 2, 2010 at 3:07 PM, [email protected] > > <[email protected]>wrote: > > > > > > > > > On Jul 1, 8:21 pm, jim <[email protected]> wrote: > > > > On Jul 1, 7:49 pm, "[email protected]" <[email protected]> > > > > wrote: > > > > > > > On Jul 1, 3:47 pm, jim <[email protected]> wrote: > > > > > > > > If I have my map with polygons and MarkerCluster the clusters can > be > > > > > > clicked and expanded. > > > > > > > > example without polygons that the clusters can be clickedhttp:// > > > jim.hollenback.org/SandBox/V2/MapCaches.html?title=header1&map... > > > > > > > > but if I include polygons I can't click the clusters to expand > them. > > > > > > > > example with polygons and clustershttp:// > > > jim.hollenback.org/SandBox/V2/MapCaches.html?title=header1&map... > > > > > > > > Is there a way to get these two to play together? > > > > > > > Your polygons are "clickable". If I set clickable to false, it > works > > > > > for me (at least in IE on a local copy). > > > > > > > -- Larry > > > > > > > > Jim > > > > > > Didn't seem to help. Thanks though.- Hide quoted text - > > > > > How about changing: > > > var poly = new GPolygon(pts,"#000000",1,0.4,"#000000",0, > > > {clickable:true}); > > > to: > > > var poly = new GPolyline(pts,"#000000",1,0.4,{clickable:false}); > > > > > -- Larry > > > > > -- > > > 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]<google-maps-api%[email protected]> > <google-maps-api%2bunsubscr...@googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-maps-api?hl=en.- Hide quoted text > - > > > > - Show quoted text - > > -- > 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]<google-maps-api%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-maps-api?hl=en. > > -- 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.
