mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
[client/map] Bugfix: Request OpenStreet maps over HTTPS by default
This commit is contained in:
parent
b9cbea5c96
commit
218e498c4a
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class MapManager {
|
||||||
this.map.setView(Config.default_location, Config.default_zoom);
|
this.map.setView(Config.default_location, Config.default_zoom);
|
||||||
|
|
||||||
// Add the OpenStreetMap tile layer
|
// Add the OpenStreetMap tile layer
|
||||||
this.layer_openstreet = L.tileLayer("http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
this.layer_openstreet = L.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png", {
|
||||||
id: "openstreetmap",
|
id: "openstreetmap",
|
||||||
maxZoom: 19,
|
maxZoom: 19,
|
||||||
attribution: "© <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>"
|
attribution: "© <a href='https://www.openstreetmap.org/copyright'>OpenStreetMap contributors</a>"
|
||||||
|
|
Loading…
Reference in a new issue