X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=contenu%2Fpage-carte_de_sites.html;h=1fbbaca0dc7a2737d5670083ebfa3240f3400ec3;hb=3225a2ff3a91ce87ccdac81b88b919cada85bd16;hp=8a4b51ea6a4ac21e76496b558c416d3a9c22352a;hpb=3e89d67ff397f317e41db9e1652c6a5e9f9fd01d;p=lhc%2Fweb%2Fspip_carte_de_sites.git
diff --git a/contenu/page-carte_de_sites.html b/contenu/page-carte_de_sites.html
index 8a4b51e..1fbbaca 100644
--- a/contenu/page-carte_de_sites.html
+++ b/contenu/page-carte_de_sites.html
@@ -1,3 +1,4 @@
+
@@ -16,7 +17,7 @@
});
siteIcon = new WorkshopIcon()
var markerAtelier = new L.Marker(new L.LatLng(#LAT, #LON), {icon: siteIcon});
- markerAtelier.bindPopup("
#NOM_SITE#_sites:DESCRIPTIF
#DESCRIPTIF #ADRESSE
#CODE_POSTAL #VILLE
Statut: [(#_ateliers_types:TITRE|supprimer_numero)]");
+ markerAtelier.bindPopup("
#NOM_SITE#_sites:DESCRIPTIF
#DESCRIPTIF #ADRESSE
#CODE_POSTAL #VILLE
Statut: [(#_ateliers_types:TITRE|supprimer_numero)]");
group_#ID_MOT.addLayer(markerAtelier)
@@ -56,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);
@@ -65,18 +66,20 @@
+