Make Leaflet’s L.Popup movable(draggable) and draw leadline.

https://user-images.githubusercontent.com/94453454/172375328-9da8eea3-a30a-45a2-9703-b30ab993de9d.mov
<script src="Leaflet.PopupMovable.js"></script>
<script>
const map = new L.map('MapContainer', {
//set 'popupMovable' option true for enable this plugin.
popupMovable: true,
//(Recommended) this option make set false.
closePopupOnClick: false,
});
</script>
if not add, leads will draw for square.
4. (Recommended)Disable autoclose option of L.Popup.
var popup = L.popup({ autoClose:false });
5. (Optional)Disable this plugin per popup.
var popup = L.popup({ popupmovable:false });
6. Method
Disperses popups that are being displayed(only Marker binded Popup).
const pm = new L.Map.PopupMovable(Lmap); pm.popupDispersion(); ```
This code is provided under the MIT license.
This code uses “const declaration”, “arrow function”, “template literals” and “SVG”. This Plugin dose not work in IE.