I am adding marker on map on user click.  

Problem is that I want only one marker but now whenever I click on map new marker is added.  

I am trying to remove it but nothing happens:  

```
var marker;
    map.on('click', function (e) {
        map.removeLayer(marker)

        marker = new L.Marker(e.latlng, { draggable: true });
        marker.bindPopup("<strong>" + e.latlng + "</strong>").addTo(map);

        marker.on('dragend', markerDrag);
    });

```