On Jan 20, 1:28 pm, regulatethis <[email protected]> wrote:

> 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...
>


google.maps.Event.addListener(map, 'click', function(overlay, latlng,
overlaylatlng) {
  if(overlay instanceof GMarker){ return }
  point = latLng || overlaylatlng;
  ....
});
-- 
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.


Reply via email to