{"action":"closed","issue":{"url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3670","labels_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3670/labels{/name}","comments_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3670/comments","events_url":"https://api.github.com/repos/Leaflet/Leaflet/issues/3670/events","html_url":"https://github.com/Leaflet/Leaflet/issues/3670","id":97022125,"number":3670,"title":"How to delete the Feature from the FeatureCollection","user":{"login":"Odjey","id":13482167,"avatar_url":"https://avatars.githubusercontent.com/u/13482167?v=3","gravatar_id":"","url":"https://api.github.com/users/Odjey","html_url":"https://github.com/Odjey","followers_url":"https://api.github.com/users/Odjey/followers","following_url":"https://api.github.com/users/Odjey/following{/other_user}","gists_url":"https://api.github.com/users/Odjey/gists{/gist_id}","starred_url":"https://api.github.com/users/Odjey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Odjey/subscriptions","organizations_url":"https://api.github.com/users/Odjey/orgs","repos_url":"https://api.github.com/users/Odjey/repos","events_url":"https://api.github.com/users/Odjey/events{/privacy}","received_events_url":"https://api.github.com/users/Odjey/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-24T10:26:48Z","updated_at":"2015-07-27T06:56:16Z","closed_at":"2015-07-27T06:56:16Z","body":"Hi! Sorry for my English)\r\nExample:\r\n<pre>\r\nvar geojsonFeature = { \"type\": \"FeatureCollection\",\r\n\t\t   \"features\": []\r\n\t };\r\nvar geoJsonCol = L.geoJson(geojsonFeature , { \r\n           onEachFeature: onEachFeature\r\n      }).addTo(map);\r\n\r\nfeature1 = { \"type\": \"Feature\", \r\n                         ...........\r\n                       };\r\nfeature2 = { \"type\": \"Feature\", \r\n                         ...........\r\n                       };\r\n\r\ngeoJsonCol.addData(feature1);\r\ngeoJsonCol.addData(feature2);\r\n</pre>\r\nHow to delete feature1 or feature2 ?"}}