On Jan 20, 9:13 am, Esa <[email protected]> wrote:
> google.maps.Event.addListener(map, 'click', function(overlay, latlng,
> overlaylatlng) {
>   if(overlay instanceof GMarker){ return }
>   point = latLng || overlaylatlng;
>   ....
>
> });

Thank you! I also had to check for instanceof GInfoWindow, to prevent
the circle from moving when I clicked to close the InfoWindow that
popped up from the marker

Thanks so much for getting me on the right track!
-- 
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