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

2008-11-24 Thread Alexandre Dube
Eric Lemoine wrote: > > Handler.Feature just has no keyMask support. Take a look at the > attached patch (untested!). > > Cheers, > -- > Eric > Hey Eric, That did the trick. Here's how the object looks like : this.handler = new OpenLayers.Handler.Feature( this, layer,

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

2008-11-23 Thread Eric Lemoine
On Fri, Nov 21, 2008 at 10:23 PM, Alexandre Dube <[EMAIL PROTECTED]> 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.

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

2008-11-21 Thread Alexandre Dube
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. I tried to set it to the Control, the Handler, no success. I tried to remov