[OpenLayers-Dev] 'del' key pressed in ModifyFeature to delete it
Alexandre Dube
adube at mapgears.com
Fri Jan 14 08:24:00 EST 2011
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 ?
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the Dev
mailing list