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

Alexandre Dube adube at mapgears.com
Mon Jan 31 11:23:53 EST 2011


Hi,

   I uploaded a small patch allowing that new feature [1].  There's also 
a live demo url in the ticket showing the feature in action.  I put the 
ticket state to "review".  Do I need to do anything else ?

Regards,

Alexandre

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


On 11-01-18 09:36 AM, Alexandre Dube wrote:
> 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