Is there any way i can catch a right click event over a Marker?
i added a MouseEvents.ClickListener to the marker but it only catches the left clicks, the right ones are ignored.
I noticed that the OpenLayersMap have an action handler that can be used for right click events but it’s usuless for me as i need it on marker level.
Nope!!!
i just used the left mouse click.
if you debug your code nothing happens, coz only left mouse click is supported for markers.
you can always make a custom context menu with the left mouse click when the item is clicked.
[/center]Ok thanks , yes i tried the handler but the problem with the contextMenu is you can get just the position X and Y But me I want the Object Marker cause i save some beans at the Marker.