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

@ -21,7 +21,7 @@ export function coordToCardinal(lat, lng) {
let directionLng = lng < CENTER ? "W" : "E";
// Retourner la chaîne de caractères résultante
return cardinalLat.toFixed(1) + " " + directionLat + " - " + cardinalLng.toFixed(1) + " " + directionLng;
return cardinalLat.toFixed(1) + "" + directionLat + " " + cardinalLng.toFixed(1) + "" + directionLng;
}
export function GetLandBlockId(ev, map) {