Posting a link to an example: http://www.dualrudder.com/gmaptest/eventissue.html
Clicking outside the circle pops the infowindow saying "Map Clicked". Clicking inside the circle should say "Circle Clicked". Unfortunately, the map click takes a while to process (using AJAX on my real map, but simulated for this example with a setTimeout) and occurs after the circle click listener is done. The map click listener needs to know whether the click occurred on an overlay. Please help. Thanks, Dave On Mar 23, 7:20 pm, Dave <[email protected]> wrote: > I have a map click event listener. I also have circles on the map that > have click listeners as well. Clicking in a circle triggers the > expected circle click listener, but also triggers the map listener. Is > there some way to stop the map listener from firing when the click is > actually in a circle? Unfortunately the map listener is triggered > first, so I can even kludge around this. I think the v2 API used to > pass in the overlay to the map listener. > > Thanks, > Dave -- 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.
