X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/425b79b5cc79273b2c74e65b224d44458f7863dc..a8020dc47555d4520b9218916693ca691ae7dbe1:/vendor/assets/leaflet/leaflet.osm.js diff --git a/vendor/assets/leaflet/leaflet.osm.js b/vendor/assets/leaflet/leaflet.osm.js index 0bde8f8a1..6e8e20ba6 100644 --- a/vendor/assets/leaflet/leaflet.osm.js +++ b/vendor/assets/leaflet/leaflet.osm.js @@ -19,6 +19,15 @@ L.OSM.Mapnik = L.OSM.TileLayer.extend({ } }); +L.OSM.CyclOSM = L.OSM.TileLayer.extend({ + options: { + url: 'https://{s}.tile-cyclosm.openstreetmap.fr/cyclosm/{z}/{x}/{y}.png', + maxZoom: 20, + subdomains: 'abc', + attribution: '© OpenStreetMap contributors. Tiles courtesy of OpenStreetMap France' + } +}); + L.OSM.CycleMap = L.OSM.TileLayer.extend({ options: { url: 'https://{s}.tile.thunderforest.com/cycle/{z}/{x}/{y}{r}.png?apikey={apikey}', @@ -35,6 +44,14 @@ L.OSM.TransportMap = L.OSM.TileLayer.extend({ } }); +L.OSM.OPNVKarte = L.OSM.TileLayer.extend({ + options: { + url: 'https://tileserver.memomaps.de/tilegen/{z}/{x}/{y}.png', + maxZoom: 18, + attribution: '© OpenStreetMap contributors. Tiles courtesy of MeMoMaps' + } +}); + L.OSM.HOT = L.OSM.TileLayer.extend({ options: { url: 'https://tile-{s}.openstreetmap.fr/hot/{z}/{x}/{y}.png',