This has a long history in OpenLayers. An easy way would be to use: http://trac.osgeo.org/openlayers/browser/sandbox/topp/geoext/lib/OpenLayers/Control/DeleteFeature.js?rev=7372
Alternatively, check out the patch here: http://trac.osgeo.org/openlayers/ticket/3016 Best regards, Bart > Hi, > > Does anybody know how to delete feature on vector layer? > In "Select Feature Example" and "Modify Feature Example" I can only place > features. > Somewhere seen that "Del" or "d" key should work - but none of them > works... > > > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/How-to-delete-Feature-point-or-line-marker-tp6763599p6763599.html > Sent from the OpenLayers Users mailing list archive at Nabble.com. > _______________________________________________ > Users mailing list > [email protected] > http://lists.osgeo.org/mailman/listinfo/openlayers-users > _______________________________________________ Users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/openlayers-users
