why removelayer wont remove marker
// Creating Feature group
var featureGroup = L.featureGroup();
//Add layer to FeatureGroup
featureGroup.addLayer(yourLayer);
// Adding Feature group to map
featureGroup.addTo(map);
//remove a layer from FeatureGroup
featureGroup.removeLayers(yourLayer);
//remove all layers from FeatureGroup
featureGroup.clearLayers();