X-Git-Url: https://git.cyclocoop.org/%7B%24admin_url%7Dmembres/message.php?a=blobdiff_plain;f=contenu%2Fpage-carte_de_sites.html;h=f569734ada4394c6dfa31f41138786f448e87060;hb=8b6dc4a7395ec2615fb138051effd130c059a308;hp=28337fe896aeee831110d63227fb76ae363cc02b;hpb=790609dafd0a6525542324018ed12205359338ac;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 28337fe..f569734 100755
--- a/contenu/page-carte_de_sites.html
+++ b/contenu/page-carte_de_sites.html
@@ -18,14 +18,14 @@
var WorkshopIcon = L.Icon.extend({
iconUrl: '[(#LOGO_MOT||extraire_attribut{src}|url_absolue)]',
shadowUrl: '[(#LOGO_MOT_SURVOL||extraire_attribut{src}|url_absolue)]',
- iconSize: new L.Point(25, 41),
- shadowSize: new L.Point(41, 41),
- iconAnchor: new L.Point(13, 41),
+ iconSize: new L.Point(17, 28),
+ shadowSize: new L.Point(17, 17),
+ iconAnchor: new L.Point(13, 17),
popupAnchor: new L.Point(0, -33)
});
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
#DESCRIPTIF
#ADRESSE
#CODE_POSTAL #VILLE
[(#URL_SITE)]
Statut: [(#_ateliers_types:TITRE|supprimer_numero)]");
group_#ID_MOT.addLayer(markerAtelier)
@@ -67,7 +67,7 @@
function onMapClick(e) {
var latlngStr = '(' + e.latlng.lat.toFixed(5) + ', ' + e.latlng.lng.toFixed(5) + ')';
popup.setLatLng(e.latlng);
- popup.setContent("You clicked the map at " + latlngStr);
+ popup.setContent("Coordonnees de votre clic (Latitude, Longitude)" + latlngStr);
map.openPopup(popup);
}