A Select interaction to delete features on click.
Get vector source of the map
Delete features: remove the features from the map (from all layers in the map)
Name Type Description
ol.Collection.<ol.Feature> | Array.<ol.Feature>
The features to delete