[carte] retablissement du lien voir la carte en plus grand, pour les insclusions
[lhc/web/spip_carte_de_sites.git] / contenu / page-carte_de_sites.html
index 63f6b81..4b70734 100755 (executable)
@@ -12,6 +12,7 @@
     - boite = oui   : afficher ou pas la boite avec calques et types
     - popup = oui   : afficher ou pas les popups de description des ateliers
     - images = oui  : afficher ou pas les images (logo, photo de l'atelier)
+    - lien  = oui   : Lien automatique vers la grande carte
     - iframe = oui  : Afficher ou non le lien vers le code iframe
     - loc = non     : Afficher ou non le popup de localisation
     - champ_lat     : Prend l'identifiant d'une balise html en argument. Change la valeur (value) de cette balise par la latitude cliquee
@@ -51,7 +52,7 @@
          </BOUCLE_sites>
     </BOUCLE_mots_types>
 
-    var cloudmadeAttribution = 'Map data &copy; OpenStreetMap contributors',
+    var cloudmadeAttribution = 'Map data &copy; OpenStreetMap contributors<br/>[(#ENV{lien}|!={non}|oui)(<a href="#URL_SITE_SPIP/?page=carte_de_sites_plein&lien=non&groupe=#ENV{groupe}&boite=oui&haut=400[&lat=(#ENV{lat})][&lon=(#ENV{lon})][&zoom=(#ENV{zoom})][&legende=(#ENV{legende})]" rel="external" target="_blank"><:carte_de_sites:grande_carte:></a>)]',
         cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/{styleId}/256/{z}/{x}/{y}.png';
 
     var midnightCommander = new L.TileLayer(cloudmadeUrl, {styleId: 999, attribution: cloudmadeAttribution}),