Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion flightStatus/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ You need to be on inflight wifi for the webpage to work.
pip install -r requirements.txt

# run flight status updater every 60 seconds
while true; do python gen_flight_status.py; sleep 60; done
while true; do python3 gen_flight_status.py; sleep 60; done

# in another terminal, start a web server
python3 -m http.server
Expand Down
5 changes: 4 additions & 1 deletion flightStatus/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@
<div id="map"></div>
<script src="https://calvinmetcalf.github.io/leaflet-ajax/dist/leaflet.ajax.js"></script>
<script>
var map = L.map('map').setView([0, 0], 1);
var map = L.map('map', {
worldCopyJump: true
}).setView([0, 0], 1);

map.addLayer(new L.TileLayer(
'https://tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 18,
Expand Down