From: Grant Slater Date: Wed, 15 Jul 2020 22:23:23 +0000 (+0100) Subject: imagery: switch baselayer to experimental fastly CDN X-Git-Url: https://git.openstreetmap.org./chef.git/commitdiff_plain/3543ee18604acca81122b73d6d4e22c034ec0b20 imagery: switch baselayer to experimental fastly CDN --- diff --git a/cookbooks/imagery/templates/default/imagery.js.erb b/cookbooks/imagery/templates/default/imagery.js.erb index 0f277444b..b42705d70 100644 --- a/cookbooks/imagery/templates/default/imagery.js.erb +++ b/cookbooks/imagery/templates/default/imagery.js.erb @@ -6,7 +6,7 @@ function createMap(divName) { var layers = L.control.layers(null, null, {collapsed:false}).addTo(map); // Add OpenStreetMap layer - layers.addBaseLayer(L.tileLayer("//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { + layers.addBaseLayer(L.tileLayer("//tile-openstreetmap-org.global.ssl.fastly.net/{z}/{x}/{y}.png", { attribution: "© OpenStreetMap and contributors, under an open license", maxZoom: 19 }), "OpenStreetMap");