I have created Polygon Map using react-leaflet. I able to create it and also able to create markers selected in the multiselect dropdown on the map.However, i am unable to remove the selected marker [or any markers] for that matter. I am providing the code below which is divides into initializationMap method which would create initialize the map and later part iis updateMakers which is used to set new markers on Map which it is doing. My problem is to remove the marker on the map. I am new to leaflet and doesn't what am i missing. I tried to create a "markers" layers but is not helping me. Please help. Thanks!
var map = new L.Map('polygonMap'); //Initialization of Map
var markers = new L.FeatureGroup().addTo(map); // Creating a Feature Layer
I am adding markers using  markers.addLayer(marker1); which works, However if i am iterating over the markers and than try to remove it , i am unable to do it. Please help, i am new to leaflet. TIA