mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-12-04 13:49:57 -05:00
Fetching matp tiles using https.
This commit is contained in:
parent
38de2f9b40
commit
97afa9aabd
1 changed files with 1 additions and 1 deletions
|
|
@ -25,7 +25,7 @@
|
||||||
var map = L.map('map').setView({lon: 0, lat: 0}, 2);
|
var map = L.map('map').setView({lon: 0, lat: 0}, 2);
|
||||||
|
|
||||||
// add the OpenStreetMap tiles
|
// add the OpenStreetMap tiles
|
||||||
L.tileLayer(`http://${window.location.hostname}:8084/hot/{z}/{x}/{y}.png`, {
|
L.tileLayer(`https://${window.location.hostname}:8084/hot/{z}/{x}/{y}.png`, {
|
||||||
maxZoom: 19,
|
maxZoom: 19,
|
||||||
attribution: '© <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
|
attribution: '© <a href="https://openstreetmap.org/copyright">OpenStreetMap contributors</a>'
|
||||||
}).addTo(map);
|
}).addTo(map);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue