Commit af52ec72 authored by Gérald Niel's avatar Gérald Niel
Browse files

Ajout Cyclo OSM

parent 723e1131
......@@ -19,13 +19,21 @@ window.addEventListener('load', async function () {
}
},
{
name: 'Open Street Map',
name: 'OSM Mapnik',
url: 'http://{s}.tile.osm.org/{z}/{x}/{y}.png',
options: {
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap contributors</a>',
maxZoom: 19
}
},
{
name: 'Cyclo OSM',
url: 'https://dev.{s}.tile.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png',
options: {
attribution: '<a href="https://github.com/cyclosm/cyclosm-cartocss-style/releases" title="CyclOSM - Open Bicycle render">CyclOSM</a> | Map data: &copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a > contributors',
maxZoom: 20
}
},
{
name:'Open Topo Map',
url: 'https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png',
......@@ -93,7 +101,13 @@ window.addEventListener('load', async function () {
"&TILEMATRIX={z}" +
"&TILEROW={y}" +
"&TILECOL={x}",
options: ign_options
options: {
opacity: 0.7,
minZoom: 0,
maxZoom: 18,
attribution: ign_attribution,
tileSize: 256
}
}
];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment