* Faire en sorte qu'on puisse afficher des mini-cartes centrées comme il faut sur la page de chaque site syndiqué
* Prévoir un "iframe" permettant l'inclusion de la carte dans d'autres sites
* Prévoir une sortie pdf/imprimante de la carte en fonction de filtres (zoom, centrage, types d'ateliers, ...)
-
+* Prévoir un fond de carte spécial vélo par défaut (mise en évidence des voies cyclables)
<div id="map" style="width: 540px; height: 400px">
<script src="#CONFIG{adresse_site}/lib/CloudMade-Leaflet-50a5790/dist/leaflet.js"></script>
-
-
-
<script>
<BOUCLE_ateliers_types(MOTS){type = Ateliers}{par num titre}>
var group_#ID_MOT = new L.LayerGroup();
cloudmadeOptions = {maxZoom: 18, attribution: cloudmadeAttribution},
cloudmadeUrl = 'http://{s}.tile.cloudmade.com/BC9A493B41014CAABB98F0471D759707/{styleId}/256/{z}/{x}/{y}.png';
- var minimal = new L.TileLayer(cloudmadeUrl, cloudmadeOptions, {styleId: 22677}),
- midnightCommander = new L.TileLayer(cloudmadeUrl, cloudmadeOptions, {styleId: 999}),
- motorways = new L.TileLayer(cloudmadeUrl, cloudmadeOptions, {styleId: 46561});
+ var midnightCommander = new L.TileLayer(cloudmadeUrl, cloudmadeOptions, {styleId: 999}),
+ minimal = new L.TileLayer(cloudmadeUrl, cloudmadeOptions, {styleId: 22677});
+
<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> minimal, midnightCommander, motorways]});
+ 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>
var baseMaps = {
- "Night View": midnightCommander,
- "Minimal": minimal
+ "Vue de nuit ;-)": midnightCommander,
+ "Vue de jour": minimal
};
<B_groups>
var overlayMaps = {
<BOUCLE_groups(MOTS){type = Ateliers}{par num titre}>
"[(#TITRE|supprimer_numero)]": group_#ID_MOT,</BOUCLE_groups>
- "Motorways": motorways
};
</B_groups>