Use preferred tile.openstreetmap.org URL

This commit is contained in:
Edward Betts 2023-11-01 20:58:44 +00:00
parent 5e8d1a99b0
commit eaca7a93bc
4 changed files with 4 additions and 4 deletions

View file

@ -2,7 +2,7 @@
var map = L.map('map');
var tiles = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png');
var tiles = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png');
var group = L.featureGroup();
map.addLayer(group);
tiles.addTo(map);