[OpenLayers-Users] Is it possible to delete a point using theModifyFeature control?

Arnd Wippermann arnd.wippermann at web.de
Sat May 17 17:38:58 EDT 2008


I have overwritten OpenLayers.Control.ModifyFeature.prototype.handleKeypress
to use the key "k" to delete a selected feature. It works great.

Arnd

-----Ursprüngliche Nachricht-----
Von: eric.c2c at gmail.com [mailto:eric.c2c at gmail.com] 
Gesendet: Samstag, 17. Mai 2008 22:34
An: Arnd Wippermann
Cc: users at openlayers.org
Betreff: Re: [OpenLayers-Users] Is it possible to delete a point using
theModifyFeature control?

On Sat, May 17, 2008 at 10:19 PM, Arnd Wippermann <arnd.wippermann at web.de>
wrote:
> I would appreciate, if the Control.ModifyFeature would enhanced to 
> delete features.
>
> If you use OL for digitizing, you have a problem to get rid of a feature.

What would you like the modify feature control to provide? Some way to
delete features when the user selects a feature and press certain keys?

--
Eric




More information about the Users mailing list