title: Leaflet draw delete features with property
body: <p>Is it possible to delete multiple features from geojson at once by checking property value?</p>
  <p>Using for example code below or using Leaflet draw?</p>
  <pre><code>function deleteArea() {
  var layers = featureGroup.getLayers();
  for (var i = 0; i &lt; layers.length; i++) {
  
          if (layers[i].feature.properties.N == 1)
  {
          &quot;DELETE?&quot; layer[i];
          };
  }
  };
  </code></pre>
  <p>I have big map and some markers have property: feature.properties.N=1. I can delete them using leaflet draw clicking one by one because I changed marker to red for those layers. But it takes some time.. Is it possible to to this at once?</p>
  <p><a href="https://i.stack.imgur.com/GPs2U.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/GPs2U.jpg" alt="enter image description here" /></a></p>
  <p>Thank you very much for your time !</p>