Skip to content

Commit 4125599

Browse files
sahilisterjbkempf
authored andcommitted
Update OpenStreetMap tile server URL
OpenStreetMap has updated documentation to use tile.openstreetmap.org. Read more at openstreetmap/operations#737 and https://operations.osmfoundation.org/policies/tiles/
1 parent a97e516 commit 4125599

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

templates/mirrorlist.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ <h3>File</h3>
138138

139139
<script>
140140
var map = L.map('map').setView([20,37], 2);
141-
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
141+
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
142142
attribution: 'Data &copy; <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>, map rendering <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
143143
}).addTo(map);
144144

templates/mirrorstats.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@
103103

104104
<script>
105105
var map = L.map('map').setView([20,37], 2);
106-
L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
106+
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
107107
attribution: '&copy; <a href="http://openstreetmap.org">OpenStreetMap</a> contributors, <a href="http://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>'
108108
}).addTo(map);
109109

0 commit comments

Comments
 (0)