Skip to content

Commit 933b022

Browse files
authored
Merge pull request #64 from danieldegroot2/tile-openstreetmap-org
Use preferred tile.openstreetmap.org URL
2 parents b13ec7d + 2817f89 commit 933b022

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

templates/bearing_entry.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
map = L.map('map').setView([chase_config.default_lat, chase_config.default_lon], 12);
9090

9191
// Add OSM Map Layer
92-
var osm_map = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
92+
var osm_map = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
9393
attribution: ''
9494
}).addTo(map);
9595

templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@
226226
map = L.map('map').setView([chase_config.default_lat, chase_config.default_lon], 8);
227227

228228
// Add OSM Map Layer
229-
var osm_map = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
229+
var osm_map = L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
230230
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors'
231231
}).addTo(map);
232232

0 commit comments

Comments
 (0)