fix: use https for osm tiles
This commit is contained in:
+2
-2
@@ -44,9 +44,9 @@ export default class extends Controller {
|
|||||||
}
|
}
|
||||||
this.map.fitBounds(bounds)
|
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,
|
maxZoom: 19,
|
||||||
attribution: '© <a href="http://www.openstreetmap.org/copyright">OpenStreetMap</a>'
|
attribution: '© <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'
|
||||||
}).addTo(this.map)
|
}).addTo(this.map)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user