Merge pull request 'Fix: use http as it breaks tile loading on map component' (#19) from fix/http-usage-for-map-tiles into master
Reviewed-on: https://git.ouvaton.coop/astrolabe/SiteWebAstrolabe/pulls/19
This commit is contained in:
commit
6a44d5ca16
@ -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('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
|
// Adding layer to the map
|
||||||
map.addLayer(layer);
|
map.addLayer(layer);
|
||||||
|
Loading…
Reference in New Issue
Block a user