Force Leaflet popup to stay open when a draggable marker is moved
问题 I am working on a crowdsourcing app aimed at geotagging old pictures. I display a grid of image thumbnails and when I click on one it places a draggable marker on the map and opens the popup containing the image and associated details. This is done with: L.marker([newlat, newlng], { icon: movableIcon, draggable:true }).addTo(map).bindPopup(popupContent).openPopup(); This works, but as soon as a user drags the marker the popup closes, hiding the very thing that they are trying to set at the