X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=contenu%2Fpage-carte_de_sites.html;h=54e7c11db3222fab260e483d72f9e4cf37c6d5a7;hb=0c437e54855b178d5b0027d74b212474f20e4f5b;hp=fbfd86388601caabe5b50741d381dfe7a6c8f509;hpb=365d4a21bc9691a7961336af1f456da042d06a25;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 fbfd863..54e7c11 100644
--- a/contenu/page-carte_de_sites.html
+++ b/contenu/page-carte_de_sites.html
@@ -1,3 +1,11 @@
+[(#REM)
+ Modele carte_de_site
+
+ Parametres :
+
+ - legende = non : ne pas afficher la legende
+]
+
@@ -17,7 +25,7 @@
});
siteIcon = new WorkshopIcon()
var markerAtelier = new L.Marker(new L.LatLng(#LAT, #LON), {icon: siteIcon});
- markerAtelier.bindPopup("
#NOM_SITE#_sites:DESCRIPTIF
#DESCRIPTIF ![](#CONFIG{adresse_site}/IMG/#LOGO_SYNDIC_SURVOL**)
#ADRESSE
#CODE_POSTAL #VILLE
Statut: [(#_ateliers_types:TITRE|supprimer_numero)]");
+ markerAtelier.bindPopup("
#NOM_SITE#_sites:DESCRIPTIF
#DESCRIPTIF ![](#CONFIG{adresse_site}/IMG/#LOGO_SYNDIC_SURVOL**)
#ADRESSE
#CODE_POSTAL #VILLE
Statut: [(#_ateliers_types:TITRE|supprimer_numero)]");
group_#ID_MOT.addLayer(markerAtelier)
@@ -57,7 +65,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);
@@ -67,19 +75,15 @@
-