fix: use https for osm tiles

This commit is contained in:
Björn Fromme
2024-11-13 16:06:13 +01:00
parent 89f3a32ce7
commit f852edb2e1
@@ -44,9 +44,9 @@ export default class extends Controller {
}
this.map.fitBounds(bounds)
}
L.tileLayer('https://{s}.tile.openstreetmap.de/tiles/osmde/{z}/{x}/{y}.png', {
L.tileLayer('https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 19,
attribution: '&copy; <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
attribution: '&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
}).addTo(this.map)
}
}