Fix: use http as it breaks tile loading on map component #17

Closed
fabienheureux wants to merge 1 commits from refs/pull/17/head into master

View File

@ -43,7 +43,7 @@
map.fitBounds(featureGroup.getBounds());
// 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
map.addLayer(layer);