Closed GoogleCodeExporter closed 9 years ago
Thanks for trying out the milestone and filing this report.
I believe this is expected behavior for the MAPS api. You get either the
Overlay or
LatLng populated in the event.
from http://code.google.com/apis/maps/documentation/reference.html#GMap2
" click overlay,latlng This event is fired when the map is clicked with the
mouse.
If the click was on a clickable overlay (like a GMarker, GPolygon, GPolyline, or
GInfoWindow), then that overlay is passed to the event handler in the overlay
argument, and a click event is also fired on the overlay. Otherwise, the
geographical
coordinates of the point that was clicked are passed in the latlng argument."
This behavior is also documented in the javadoc for MapClickEvent.
Original comment by galgwt.reviews@gmail.com
on 30 Apr 2008 at 7:59
Thank you. I didn't realise this, and i still think it would be nice to get the
relevant LatLng, but then it is the MAPS api guys i will have to talk to.
I have been playing a bit with the new release, and it seems more stable than
the r42.
Original comment by sore...@gmail.com
on 30 Apr 2008 at 8:09
Original comment by zundel@google.com
on 21 Dec 2009 at 1:57
Original issue reported on code.google.com by
sore...@gmail.com
on 30 Apr 2008 at 7:45