From: Tom Hughes Date: Fri, 10 Apr 2020 13:31:31 +0000 (+0100) Subject: Update leaflet.osm plugin X-Git-Tag: live~2200 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8199002a0fd83a6eec91764bcec9e9e8705c7e5d Update leaflet.osm plugin --- diff --git a/vendor/assets/leaflet/leaflet.osm.js b/vendor/assets/leaflet/leaflet.osm.js index 37c8bcf7d..ecf99a70a 100644 --- a/vendor/assets/leaflet/leaflet.osm.js +++ b/vendor/assets/leaflet/leaflet.osm.js @@ -2,7 +2,7 @@ L.OSM = {}; L.OSM.TileLayer = L.TileLayer.extend({ options: { - url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', + url: 'https://tile.openstreetmap.org/{z}/{x}/{y}.png', attribution: '© OpenStreetMap contributors' }, @@ -46,7 +46,7 @@ L.OSM.HOT = L.OSM.TileLayer.extend({ L.OSM.GPS = L.OSM.TileLayer.extend({ options: { - url: 'https://gps-{s}.tile.openstreetmap.org/lines/{z}/{x}/{y}.png', + url: 'https://gps.tile.openstreetmap.org/lines/{z}/{x}/{y}.png', maxZoom: 21, maxNativeZoom: 20, subdomains: 'abc'