X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fspip_carte_de_sites.git;a=blobdiff_plain;f=contenu%2Fpage-carte_de_sites.html;fp=contenu%2Fpage-carte_de_sites.html;h=043c8be29e212209ae6b14e9006624b675d0b723;hp=7a2599ece6eaee8ba299e9c1d273150c922386d2;hb=8252d79b626d99edfde1170d41396019dbbd7099;hpb=742d37069b88bb97fe182d90e2bbbc3d7883a4e8
diff --git a/contenu/page-carte_de_sites.html b/contenu/page-carte_de_sites.html
index 7a2599e..043c8be 100755
--- a/contenu/page-carte_de_sites.html
+++ b/contenu/page-carte_de_sites.html
@@ -51,14 +51,13 @@
var cloudmadeAttribution = 'Map data © OpenStreetMap contributors
[(#ENV{lien}|!={non}|oui)(<:carte_de_sites:grande_carte:>)]',
- cloudmadeOptions = {maxZoom: 18, attribution: cloudmadeAttribution},
cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/{styleId}/256/{z}/{x}/{y}.png';
- var midnightCommander = new L.TileLayer(cloudmadeUrl, cloudmadeOptions, {styleId: 999}),
- thunderforest = new L.TileLayer('http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png', cloudmadeOptions),
- minimal = new L.TileLayer(cloudmadeUrl, cloudmadeOptions, {styleId: [(#ENV{style}|sinon{'14189'})]});
+ var midnightCommander = new L.TileLayer(cloudmadeUrl, {styleId: 999, attribution: cloudmadeAttribution}),
+ thunderforest = new L.TileLayer('http://{s}.tile.opencyclemap.org/cycle/{z}/{x}/{y}.png', {attribution: cloudmadeAttribution}),
+ minimal = new L.TileLayer(cloudmadeUrl, {styleId: [(#ENV{style}|sinon{'14189'})], attribution: cloudmadeAttribution});
- //Construction de la carte
+ //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);