[OpenLayers-Dev] DeleteFeature Control

Alexandre Dube adube at mapgears.com
Fri Jan 9 10:06:30 EST 2009

Roald de Wit wrote:
> Sure, it seems quite intuitive to me to be able to select multiple
> features and using the DELETE key for deletion! Thanks for that.
> Please make sure you set the 'State' field in Trac to 'Review' when
> you've uploaded your latest changes.
> Cheers, Roald
  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,

Alexandre Dubé

More information about the Dev mailing list