Move CyclOSM higher up and update description

pull/172/head
Candid Dauth 2021-04-30 19:32:01 +02:00
rodzic 354bb2c502
commit ec6e4a0076
2 zmienionych plików z 7 dodań i 7 usunięć

Wyświetl plik

@ -19,10 +19,10 @@ Base layers set the main style of the map. Only one base layer can be shown at t
| TopPlus | [German state](https://www.bkg.bund.de/SharedDocs/Produktinformationen/BKG/DE/P-2017/170922-TopPlus-Web-Open.html) | Good for a general geographic overview, with more details than Mapnik. Has a focus on car infrastructure, political borders and topography. Unfortunately all labels are in German. |
| Map1.eu | [Map1.eu](https://www.map1.eu/) | Has a focus on cities/towns, car infrastructure and political borders. Aims to have the same level of detail as a paper map. Only available for Europe. |
| OpenTopoMap | [OpenTopoMap](https://opentopomap.org/) | Strong focus on topography, but also shows car and train infrastructure. Shows contour lines at higher zoom levels. |
| CyclOSM | [CyclOSM](https://cyclomap.org/) | Strong focus on bicycle infrastructure and sign-posted bicycle routes. |
| OpenCycleMap | [OpenCycleMap](https://www.opencyclemap.org/) | Strong focus on sign-posted bicycle routes. At higher zoom levels, details about cycling infrastructure are shown. |
| Hike & Bike Map | [Hike & Bike Map](https://hikebikemap.org/) | Emphasizes hiking trails and off-road tracks. |
| Mapnik Water | [FreieTonne](https://www.freietonne.de/) | Similar to Mapnik, but emphasizes lakes, rivers and the sea. |
| CyclOSM | [CyclOSM](https://cyclomap.org/) | A bicycle-oriented map built on top of OpenStreetMap data, which aims at providing a beautiful and practical map for cyclists, no matter their cycling habits or abilities. |
Since these base layers are provided by third-party services, it can happen that some of them are unavailable at some point in time. In that case, FacilMap will show Mapnik as a fallback.

Wyświetl plik

@ -57,6 +57,12 @@ export function createDefaultLayers(): Layers & { fallbackLayer: string | undefi
noWrap: true
}),
CycO: L.tileLayer("https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png", {
fmName: "CyclOSM",
attribution: '© <a href="https://www.cyclosm.org/" target="_blank">CyclOSM</a> / <a href="https://www.openstreetmap.org/copyright" target="_blank">OSM Contributors</a>',
noWrap: true
}),
OCyc: L.tileLayer("https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}.png?apikey=bc74ceb5f91c448b9615f9b576c61c16", {
fmName: "OpenCycleMap",
attribution: '© <a href="https://opencyclemap.org/" target="_blank">OpenCycleMap</a> / <a href="https://www.openstreetmap.org/copyright" target="_blank">OSM Contributors</a>',
@ -74,12 +80,6 @@ export function createDefaultLayers(): Layers & { fallbackLayer: string | undefi
attribution: '© <a href="https://www.freietonne.de/" target="_blank">FreieTonne</a> / <a href="https://www.openstreetmap.org/copyright" target="_blank">OSM Contributors</a>',
noWrap: true
}),
CycO: L.tileLayer("https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png", {
fmName: "CyclOSM",
attribution: '© <a href="https://cyclomap.org/" target="_blank">CyclOSM</a> / <a href="https://www.openstreetmap.org/copyright" target="_blank">OSM Contributors</a>',
noWrap: true
}),
},
overlays: {
OPTM: L.tileLayer("http://openptmap.org/tiles/{z}/{x}/{y}.png", {