diff --git a/src/views/collection.pug b/src/views/collection.pug index a770545..25b1997 100644 --- a/src/views/collection.pug +++ b/src/views/collection.pug @@ -58,7 +58,7 @@ block content #map(style='width: 540px; height: 480px; position: relative;') script. const map = L.map("map").setView([52.300, 4.867], 11); - L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); + L.tileLayer('http://tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); const coords = !{JSON.stringify(content.extent.spatial.bbox)} const bounds = [[coords[1], coords[0]], [coords[3], coords[2]]]; diff --git a/src/views/collections.pug b/src/views/collections.pug index 6f02f00..3f3b0ff 100644 --- a/src/views/collections.pug +++ b/src/views/collections.pug @@ -51,4 +51,4 @@ block content #map(style='width: 100%; height: 400px; position: relative;') script. const map = L.map("map").setView([52.300, 4.867], 11); - L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); + L.tileLayer('http://tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); diff --git a/src/views/feature.pug b/src/views/feature.pug index 6f9ec4e..59081e3 100644 --- a/src/views/feature.pug +++ b/src/views/feature.pug @@ -52,6 +52,6 @@ block content #map(style='width: 100%; height: 400px; position: relative;') script. var map = L.map("map").setView([52.300, 4.867], 12); - L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); + L.tileLayer('http://tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); var features = !{JSON.stringify(content.geometry)} L.geoJSON(features).addTo(map); diff --git a/src/views/items.pug b/src/views/items.pug index ad8c12f..9fa73b4 100644 --- a/src/views/items.pug +++ b/src/views/items.pug @@ -113,4 +113,4 @@ block content #map(style='width: 540px; height: 480px; position: relative;') script. const map = L.map("map").setView([52.300, 4.867], 11); - L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); \ No newline at end of file + L.tileLayer('http://tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); \ No newline at end of file diff --git a/src/views/landingPage.pug b/src/views/landingPage.pug index e28bb13..aee7663 100644 --- a/src/views/landingPage.pug +++ b/src/views/landingPage.pug @@ -84,7 +84,7 @@ block content #map(style='width: 100%; height: 400px; position: relative;') script. const map = L.map("map").setView([52.300, 4.867], 11); - L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); + L.tileLayer('http://tile.openstreetmap.org/{z}/{x}/{y}.png', {attribution: '© OpenStreetMap contributors'}).addTo(map); const coords = !{JSON.stringify(content.extent.spatial.bbox)} const bounds = [[coords[1], coords[0]], [coords[3], coords[2]]];