[OpenLayers-Users] Mouse Right Click on Map
Ian A. Barkley
ian.barkley at catlinusa.com
Wed Nov 14 13:09:13 EST 2007
Two things:
map.events.register('mousedown'..) will catch the right-mouse click in
2.5 and a quick hack to disable the default browser popup from
displaying is to place
oncontextmenu="return false" in the body tag of the .html file
________________________________
From: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org]
On Behalf Of Luis F Silva
Sent: Monday, November 12, 2007 9:53 AM
To: users at openlayers.org
Subject: [OpenLayers-Users] Mouse Right Click on Map
Hi all
Is there an way to catch the mouse "Right Click" within the
map.events.register() function ? Or workarounds ?
Thanks in advance
Fernando.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071114/3b8ff279/attachment.html
More information about the Users
mailing list