Parametres :
- legende = non : ne pas afficher la legende
+ - coord = 46.8,2.52 : pour un centrage optimal sur la carte de France
+ - zoom = 5 : pour un centrage optimal sur la carte de France
]
<!-- Carte -->
minimal = new L.TileLayer(cloudmadeUrl, cloudmadeOptions, {styleId: 14189});
-<B_map>
- var map = new L.Map('map', {center: new L.LatLng(46.8, 2.52), zoom: 5, layers: [<BOUCLE_map(MOTS){type = Ateliers}> group_#ID_MOT,</BOUCLE_map> midnightCommander, minimal]});
-</B_map>
+ <B_map>
+ var map = new L.Map('map', {center: new L.LatLng([(#ENV{coord}|sinon{'46.8,2.52'})]), zoom: [(#ENV{zoom}|sinon{5})], layers: [<BOUCLE_map(MOTS){type = Ateliers}> group_#ID_MOT,</BOUCLE_map> midnightCommander, minimal]});
+ </B_map>
+
var baseMaps = {
"Vue de nuit ;-)": midnightCommander,
]
</BOUCLE_legende>
</B_legende>
-
[(#REM) Carte des ateliers ]\r
-<INCLURE{fond=contenu/page-carte_de_sites, legende}/>\r
+<INCLURE{fond=contenu/page-carte_de_sites, env}/>\r