[OpenLayers-Users] Key modifiers being ignored in Click Handler

Eric Lemoine eric.lemoine at camptocamp.com
Sat Feb 12 16:55:17 EST 2011


2011/2/10 Adrià Mercader <amercader.dev at gmail.com>:
> Hi,
> I'm trying to create a control that only triggers an action whit Ctrl
> + click. But the control gets triggered with and without pressing the
> Ctrl key.
> Here is a minimum example, adapted from the Openlayers Click Event
> example. Any ideas?

Hi. I don't think the click handler currently supports key modifiers.

-- 
Eric Lemoine

Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex

Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com


More information about the Users mailing list