[OpenLayers-Users] How to select on CTRL key + click

Eric Lemoine eric.c2c at gmail.com
Sun Nov 23 08:59:45 EST 2008


On Fri, Nov 21, 2008 at 10:23 PM, Alexandre Dube <adube at mapgears.com> wrote:
> I'm been scratching my head for a while on this : how can I add select a
> feature using this customized control on click + ctrl key down only ?
> I've tried to add a keyMask but the checkModifiers never seems to trigger.

Handler.Feature just has no keyMask support. Take a look at the
attached patch (untested!).

Cheers,
--
Eric
-------------- next part --------------
A non-text attachment was scrubbed...
Name: feature-handler-keyMask.patch
Type: text/x-diff
Size: 724 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/openlayers-users/attachments/20081123/44ad7c6c/feature-handler-keyMask.bin


More information about the Users mailing list