[OpenLayers-Dev] DeleteFeature Control

Alexandre Dube adube at mapgears.com
Thu Jan 15 09:53:34 EST 2009

Alexandre Dube wrote:
>   Thanks Roald for the review.
>   I just added some more user-friendly features to the control and 
> changed the state to review as you suggested.  I guess it's almost 
> completed.  The thing that bothers me the most is the fact that I had to 
> register 2 OL.Handlers.Box to be able to 2 different keyMasks : shiftKey 
> alone and shiftKey + ctrlKey.  I don't want the user to be able to draw 
> a box without holding the shift key.  It's more intuitive that way in my 
> opinion.  So, could I have done this an other way ?
>   Comments are welcomed,
See a live example of the DeleteFeature control at 

Alexandre Dubé

More information about the Dev mailing list