2011/2/10 AdriĆ  Mercader <[email protected]>:
> 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 : [email protected]
http://www.camptocamp.com
_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to