From 2d0506f04402d0d18502e8c35f8514881428d7d6 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Mon, 7 Dec 2020 23:16:09 +0100 Subject: Fixed downloading map tiles with https instead of http (no green lock otherwise) --- walks/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'walks/script.js') diff --git a/walks/script.js b/walks/script.js index 2df91b0..80282db 100644 --- a/walks/script.js +++ b/walks/script.js @@ -14,7 +14,7 @@ fetch(link.href) const map = L.map(anchor).setView([0, 0], 13) L.tileLayer( - 'http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', + 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', { attribution: 'Map data © OpenStreetMap', // maxZoom: 18, -- cgit