From: Ludovic CHEVALIER Date: Thu, 11 Oct 2012 19:53:24 +0000 (+0200) Subject: [OpenCycleMap] +attribut X-Git-Tag: v1.2.0~16 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fspip_carte_de_sites.git;a=commitdiff_plain;h=f1daffda184223b69ad85f93a263b512ac6fe2d1;ds=sidebyside [OpenCycleMap] +attribut --- diff --git a/contenu/page-carte_de_sites.html b/contenu/page-carte_de_sites.html index 33bb6c2..1485f28 100755 --- a/contenu/page-carte_de_sites.html +++ b/contenu/page-carte_de_sites.html @@ -48,12 +48,12 @@ - var cloudmadeAttribution = 'Map data © 2011 OpenStreetMap contributors, Imagery © 2011 CloudMade
[(#ENV{lien}|!={non}|oui)(<:carte_de_sites:grande_carte:>)]', + 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'), + 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'})]}); //Construction de la carte