I have decided to put this forward as an idea. We could add another control to the existing map view draw gizmos that deletes features. The code that Shawn Crawley and I worked out that would work fairly well is the following:
map.on('click', function (e) {
var pixel = map.getEventPixel(e.originalEvent);
var feature = map.forEachFeatureAtPixel(pixel,
function (feature) {
return feature;
});
map.getLayers().item(1).getSource().removeFeature(feature);
});
I'll work on putting this together in a gizmo, is there someone who could help me with this?