[OpenLayers-Dev] 'del' key pressed in ModifyFeature to delete it

Alexandre Dube adube at mapgears.com
Tue Jan 18 09:36:43 EST 2011


Hi,

   I created a ticket [1] for that new feature.  I will be able to work 
on it in the following weeks.

Best regards,

Alexandre

[1] http://trac.osgeo.org/openlayers/ticket/3016


On 11-01-15 03:39 PM, Eric Lemoine wrote:
> 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.
>
>


-- 
Alexandre Dubé
Mapgears
www.mapgears.com



More information about the Dev mailing list