From 02b6c9805785d33bb357a6de61f46e0065fcb800 Mon Sep 17 00:00:00 2001 From: Fabien Le Frapper Date: Thu, 12 May 2022 11:56:08 +0200 Subject: [PATCH] Fix: use http as it breaks tile loading on map component --- src/_includes/partials/components/map.njk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_includes/partials/components/map.njk b/src/_includes/partials/components/map.njk index 82c138cf..4dde9d03 100644 --- a/src/_includes/partials/components/map.njk +++ b/src/_includes/partials/components/map.njk @@ -43,7 +43,7 @@ map.fitBounds(featureGroup.getBounds()); // Creating a Layer object - var layer = new L.TileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'); + var layer = new L.TileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'); // Adding layer to the map map.addLayer(layer);