X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/3666b674330ec8d14a224932a191d6121c5974e2..930d534c6c6d67436b3a8b6101c8e0d4fb7e389c:/vendor/assets/leaflet/leaflet.osm.js?ds=sidebyside 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',