I have a FeatureCollection from which I remove single Features. I can get the removed feature by adding an event listener pm:remove like following:
layer.on('pm:remove', e => {
// do stuff regarding the removed feature
console.log(e.layer.feature)
});
I would like to also have access to the resulting FeatureCollection (from which the feature has been removed). how can I "console.log()" that?