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

@ -18,7 +18,7 @@ if (!user_lat || !user_lon) {
}
// Add OpenStreetMap layer
var osm = L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 });
var osm = L.tileLayer("https://tile.openstreetmap.org/{z}/{x}/{y}.png", { maxZoom: 18 });
osm.addTo(map);