Example of OpenLayers to Modify and Delete features
View on GitHub
vertices, draw, drawing, modify, delete
Example of ModifyFeature control for editing and deleting vector features.
none
draw point
draw line
draw polygon
modify feature
allow delete feature by del-key, choose mode:
always
hover
none
allow vertices creation
allow rotation
allow resizing
(
keep aspect ratio
)
allow dragging
View the
modify-feature.js
source to see how this is done.