[OpenLayers-Dev] 'del' key pressed in ModifyFeature to delete it
Eric Lemoine
eric.lemoine at camptocamp.com
Sat Jan 15 15:39:35 EST 2011
On Fri, Jan 14, 2011 at 2:24 PM, Alexandre Dube <adube at mapgears.com> wrote:
> Hi devs,
>
> Currently, in the ModifyFeature control, when you hover a vertice and press
> the 'del' key, it deletes it. While hovering nothing, nothing happens. I'd
> like to propose this change : when hovering nothing, if the 'del' key is
> pressed, it deletes the feature ( firing 'beforefeaturedeleted' and
> 'featuredeleted' events in order for users to add any kinds of custom
> warning message before doing so).
>
> Thoughts ?
It sounds good to me.
--
Eric Lemoine
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 96
Mail : eric.lemoine at camptocamp.com
http://www.camptocamp.com
More information about the Dev
mailing list