Skip to content

Commit 0fcb6ca

Browse files
Merge pull request #318 from inan-hira/update-osm-tileserver-urls
Update the OSM tile URLs to use preferred scheme
2 parents c7b6296 + 4ca08b4 commit 0fcb6ca

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

_posts/2019-01-29-umfrageverteilung-2018-in-deutschland.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function myPointToLayer(geoJsonPoint, latlng) {
3434

3535
var map2018 = L.map('map2018').setView([51.000,10.316], 7);
3636

37-
L.tileLayer('https://{s}.tile.osm.org/{z}/{x}/{y}.png', {
37+
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
3838
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
3939
}).addTo(map2018);
4040

de/map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function myPointToLayer(geoJsonPoint, latlng) {
3535

3636
var map = L.map('map').setView([51.000,10.316], 7);
3737

38-
L.tileLayer('https://{s}.tile.osm.org/{z}/{x}/{y}.png', {
38+
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
3939
attribution: '&copy; <a href="http://osm.org/copyright">OpenStreetMap</a> contributors'
4040
}).addTo(map);
4141

en/map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function onEachFeature(feature, layer) {
3232

3333
var map = L.map('map-container').setView([51.000,10.316], 7);
3434

35-
L.tileLayer('https://{s}.tile.osm.org/{z}/{x}/{y}.png', {
35+
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
3636
attribution: '&copy; <a href="https://osm.org/copyright">OpenStreetMap</a> contributors'
3737
}).addTo(map);
3838

0 commit comments

Comments
 (0)