[OpenLayers-Users] DeleteFeature.js -- on click and ctrl+click

2008-11-24 Thread Alexandre Dube
Hi list, I asked on Friday about keyMask and got it working but unfortunately it couldn't help in the end. I wanted my control to have those behaviors : - on single click : unselect all features, then only select the clicked feature, or only unselect the clicked feature if that was to one

Re: [OpenLayers-Users] DeleteFeature.js -- on click and ctrl+click

2008-11-24 Thread Alexandre Dube
Daniel told me something I wanted to add : the correct and more standard behavior should looks like this : - on single click : unselect all features, then only select the clicked feature - on ctrl+click : select/unselect multiple features at the same time. See changes below, if interested.