X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=contenu%2Fpage-carte_de_sites.html;h=99587e0cd6e3eced7de6fe1e4a389d349664dd28;hb=f65c68b14fc9fae5251d957a8b9b0ba950733852;hp=4b707342f41c8e752b2ef79eca930b14eda0916e;hpb=d3ef55e09720e1858e418b8f4664e3e8ff1d740b;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 4b70734..99587e0 100755 --- a/contenu/page-carte_de_sites.html +++ b/contenu/page-carte_de_sites.html @@ -2,6 +2,7 @@ Modele carte_de_site Parametres : + - fullscreen = non : afficher ou ne pas afficher le contrôle fullscreen - legende = oui : afficher ou ne pas afficher la légende - lat = 46.8 : latitude du centre de la carte - lon = 2.52 : longitude du centre de la carte @@ -45,7 +46,7 @@ var markerGis = new L.Marker(new L.LatLng(#LAT, #LON), {icon: gisIcon}); [(#ENV{popup}|!={non}|oui) - markerGis.bindPopup("[(#ENV{images}|!={non}|oui)]

#TITRE

#DESCRIPTIF[(#ENV{images}|!={non}|oui)\]#ADRESSE
#CODE_POSTAL #VILLE
#NOM_SITE - #URL_SITE

Statut: [(#_mots_types:TITRE|supprimer_numero)]"); + markerGis.bindPopup("[(#ENV{images}|!={non}|oui)]

#TITRE

#DESCRIPTIF[(#ENV{images}|!={non}|oui)\]#ADRESSE
#CODE_POSTAL #VILLE
#NOM_SITE - #URL_SITE

Statut: [(#_mots_types:TITRE|supprimer_numero)]"); ] group_#ID_MOT.addLayer(markerGis) @@ -62,7 +63,9 @@ //Construction de la carte var map = new L.Map('map'); map.setView(new L.LatLng([(#ENV{lat}|sinon{'46.8'})],[(#ENV{lon}|sinon{'2.52'})]),[(#ENV{zoom}|sinon{5})]).addLayer(thunderforest); - map.addControl(new L.Control.FullScreen()); + [(#ENV{fullscreen}|oui) + map.addControl(new L.Control.FullScreen()); + ] //Ajout des marqueurs