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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Samstag, 17. Mai 2008 22:34 An: Arnd Wippermann Cc: [email protected] 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 <[EMAIL PROTECTED]> 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 _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
