Closed GoogleCodeExporter closed 9 years ago
I don't see this event currently documented in the Maps JavaScript API:
http://code.google.com/apis/maps/documentation/reference.html#GMarker
You might want to investigate and see if there is some reason why it isn't
included there.
It may be that you can catch this event using the
MapWidget.addMapRightClickHandler(). The 'getOverlay()'
method from the returned event object should be an instance of Marker if you
click on it.
Original comment by galgwt.reviews@gmail.com
on 1 Oct 2008 at 2:23
You're right, the JavaScript API does not forward the singlerightclick event to
the
Marker.
The suggested solution works when clicking on a marker and is consistent with
the
official API. However, when clicking on a spot on the map where there is no
marker,
the problem mentioned in issue 179 shows up.
Any workaround for this?
Original comment by alemao...@gmail.com
on 1 Oct 2008 at 3:19
Other than applying the patch for issue 179, I don't have a workaround, sorry.
Original comment by galgwt.reviews@gmail.com
on 1 Oct 2008 at 4:26
Original issue reported on code.google.com by
alemao...@gmail.com
on 1 Oct 2008 at 2:16