From: Frédéric Rodrigo Date: Sun, 6 Dec 2020 20:23:48 +0000 (+0100) Subject: Update leaflet-osm X-Git-Tag: live~1764^2~1 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/6b38c8ab5cb87d76778edfb98707f4183f04c6f3 Update leaflet-osm --- 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}',