X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/cfb2f2988c0a396f2d2b167d3c75461b7e811e1c..11e81c5398bb43d35c1b12421f7a6be2ca5b7047:/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 ad712e3a2..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}',