Mise à jour de 'src/_includes/partials/components/map.njk'

This commit is contained in:
Fabien Le Frapper 2022-05-31 17:02:35 +02:00
parent 02b6c98057
commit 37758cbf9b

View File

@ -43,7 +43,7 @@
map.fitBounds(featureGroup.getBounds()); map.fitBounds(featureGroup.getBounds());
// Creating a Layer object // Creating a Layer object
var layer = new L.TileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png'); var layer = new L.TileLayer('//{s}.tile.openstreetmap.org/{z}/{x}/{y}.png');
// Adding layer to the map // Adding layer to the map
map.addLayer(layer); map.addLayer(layer);