]> git.openstreetmap.org Git - chef.git/commitdiff
Imagery: use standard tile url
authorGrant Slater <git@firefishy.com>
Thu, 24 Dec 2020 22:07:25 +0000 (22:07 +0000)
committerGrant Slater <git@firefishy.com>
Thu, 24 Dec 2020 22:07:25 +0000 (22:07 +0000)
cookbooks/imagery/templates/default/imagery.js.erb

index 56ac172da1a60b9ec44a1d830bbe54bf5a17ef0e..bee7747abe4d3190a3ca033084cec4251c3cfc1b 100644 (file)
@@ -8,7 +8,7 @@ function createMap(divName) {
   var layers = L.control.layers(null, null, {collapsed:false}).addTo(map);
 
   // Add OpenStreetMap layer
-  layers.addBaseLayer(L.tileLayer("https://cdn-fastly-test.tile.openstreetmap.org/{z}/{x}/{y}.png", {
+  layers.addBaseLayer(L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", {
     attribution: "© <a target=\"_parent\" href=\"https://www.openstreetmap.org\">OpenStreetMap</a> and contributors, under an <a target=\"_parent\" href=\"https://www.openstreetmap.org/copyright\">open license</a>",
     maxZoom: 19
   }), "OpenStreetMap");