update coord for copy/cut coord

This commit is contained in:
troispoils 2024-05-09 20:43:29 +02:00
parent 8b52d69ae9
commit 94012aed45
5 changed files with 22 additions and 2 deletions

View file

@ -5,6 +5,8 @@ var coordOverlay = L.control({ position: "bottomleft" });
coordOverlay.onAdd = function (map) {
this._div = L.DomUtil.create("div", "coordinates-overlay");
this._div.innerHTML = "Cliquez sur la carte pour voir les coordonnées";
// Empêcher la propagation des clics sur l'overlay à la carte
L.DomEvent.disableClickPropagation(this._div);
return this._div;
};