I'm working on a relatively simple app where clicking anywhere on a map draws a circle around that point with a given radius. If I click on a new point WITHIN that circle, the circle is redrawn with the new center point. My problem is that if I click on a Marker within the radius of that circle my event fires off as if the Marker wasn't even there, the circle is redrawn with the center being the spot I clicked on the Marker.
How might I be able to check whether I've clicked on a Marker or just the plain circle overlay within my event listener function? If I can tell that it's a Marker, then I could skip running the code that redraws the circle... Any ideas?
-- 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.
