From 3225a2ff3a91ce87ccdac81b88b919cada85bd16 Mon Sep 17 00:00:00 2001 From: Ludovic CHEVALIER Date: Sat, 7 Jan 2012 18:18:57 +0100 Subject: [PATCH] 5 chiffres apres la virgule quand on clique sur la carte --- contenu/page-carte_de_sites.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contenu/page-carte_de_sites.html b/contenu/page-carte_de_sites.html index 7a4f81b..1fbbaca 100644 --- a/contenu/page-carte_de_sites.html +++ b/contenu/page-carte_de_sites.html @@ -57,7 +57,7 @@ var popup = new L.Popup(); function onMapClick(e) { - var latlngStr = '(' + e.latlng.lat.toFixed(3) + ', ' + e.latlng.lng.toFixed(3) + ')'; + var latlngStr = '(' + e.latlng.lat.toFixed(5) + ', ' + e.latlng.lng.toFixed(5) + ')'; popup.setLatLng(e.latlng); popup.setContent("You clicked the map at " + latlngStr); map.openPopup(popup); -- 2.20.1