Commit Graph

1646 Commits

Author SHA1 Message Date
Matthias Wirth
57e2933a98 try some webworkers
no measurable benefit but maybe useful in the future

creates random hangs, just don't use it for the time being

some minor loading order adjustments that bring planes on the screen a
bit faster
2024-05-21 19:39:32 +02:00
Mark Bumiller
ee4b382c92 using flag-icons
the original flags come from a website that is not maintained.
using svg instead of png

flags used:
https://gitlab.com/catamphetamine/country-flag-icons

remove unused 'selected plane flag' code

Co-authored-by: Matthias Wirth <matthias.wirth@gmail.com>
2024-05-19 17:52:56 +02:00
Matthias Wirth
8734e50388 speedy history loading fix interaction with adsc 2024-05-19 17:23:12 +02:00
Matthias Wirth
74db842df3 speed up history loading
the reaper removes any aircraft and their tracks when they haven't been
seen for reapTimeout (was 5 min, now 8 min)
thus parse the history starting from the present and build a list of
aircraft that the reaper won't remove in the present
ignore aircraft not on that list when parsing the history
2024-05-19 14:17:18 +02:00
Matthias Wirth
1c21142313 remove track history debug print 2024-05-18 20:06:10 +02:00
Matthias Wirth
facdf0fee7 fix refreshHistory for longer tar1090 intervals 2024-05-18 20:01:25 +02:00
Matthias Wirth
325b6eec71 track history loading debug 2024-05-18 19:23:17 +02:00
Matthias Wirth
e338897369 display actual tar1090 version instead of install date 2024-05-18 18:06:56 +02:00
Matthias Wirth
1e32ef16ae align altitudes in table by moving the arrow 2024-05-18 16:12:35 +02:00
Matthias Wirth
c53e87cb67 tweak loading progress bar 2024-05-17 22:09:56 +02:00
Matthias Wirth
8057c9b1c8 only show loader on slow tab return 2024-05-17 20:57:51 +02:00
Matthias Wirth
c5c3933bdd don't test webgl more than once 2024-05-17 19:29:56 +02:00
Matthias Wirth
f6a7982eea don't parse history before some stuff is configured
dependencies in startup were not considered when recently changing this
2024-05-17 18:53:23 +02:00
Matthias Wirth
6192cd484f prevent some more race conditions 2024-05-16 23:02:48 +02:00
Matthias Wirth
b9e8d38587 small fix 2024-05-16 19:44:26 +02:00
Matthias Wirth
ebfde25a35 avoid race condition with push_history being undefined 2024-05-16 19:42:28 +02:00
Matthias Wirth
fe2eeb155d loading bar when history is loaded after background 2024-05-16 17:39:58 +02:00
Matthias Wirth
e63b64f865 page load cleanups 2024-05-16 16:23:27 +02:00
Matthias Wirth
284d6788e7 cleanups 2024-05-16 15:33:14 +02:00
Matthias Wirth
bbabb6bb77 block fetch until history loaded
this fixes some race conditions of a tab returning to the foreground and
even on load

this race could lead to incomplete track history loading
2024-05-16 14:40:47 +02:00
Matthias Wirth
acf1a78e06 apply qnh correction to altitude column / alt colors 2024-05-16 10:23:19 +02:00
Matthias Wirth
d756f6c042 debugging output 2024-05-16 10:17:17 +02:00
Matthias Wirth
534c26702e load history when tab is no longer hidden 2024-05-15 00:37:39 +02:00
Matthias Wirth
26bb0db1a0 fix Vietnam flag color
fixes: https://github.com/wiedehopf/tar1090/issues/263
2024-05-11 10:53:04 +02:00
Matthias Wirth
3d4e45541a don't init zstddec if backend doesn't enable it 2024-05-11 10:29:17 +02:00
Matthias Wirth
5f23258dec disable aischatcher layer for heatmap / replay 2024-05-08 14:50:15 +02:00
justin4046
bf28cbc8a5 dont correct baro when on ground 2024-05-07 18:49:52 -05:00
Matthias Wirth
a3bafe12ac add query parameter: aiscatcher_server 2024-05-06 19:52:38 +02:00
Matthias Wirth
dc089c6ed4 workaround to avoid flashing of geojson layer 2024-05-06 00:53:57 +02:00
Matthias Wirth
fd7d79eb02 mouseover handler change in preparation for ais tooltips 2024-05-06 00:22:12 +02:00
Matthias Wirth
09a4fcce95 clear aiscatcher timer on tab change 2024-05-05 23:23:49 +02:00
Matthias Wirth
23f814e1e9 tabs to spaces 2024-05-05 21:19:56 +02:00
Matthias Wirth
f4f3f59100 minor semicolon 2024-05-05 21:18:53 +02:00
Matthias Wirth
0fdc3a8bdc enable display of AIS-catcher geojson via config.js
code adapted from jvde: https://github.com/jvde-github/AIS-in-TAR1090

example config.js addition:
aiscatcher_server="URL";
aiscatcher_refresh=15;
2024-05-05 19:11:02 +02:00
Matthias Wirth
e6ec29fcea enable FAA charts in somewhat broken state 2024-05-05 14:53:09 +02:00
Matthias Wirth
56b0f01be0 cleanup baro correction
inlcude all labels in correction
use form to change altimeter

adjust baro correct formula
provide documentation for the formula source

old formula was off by 2 ft at 10k ft and 6 ft at 40k ft.
was mostly about citing the formula source
2024-05-04 17:44:37 +02:00
Matthias Wirth
1952368da6 Merge branch 'altimeter-correction' of https://github.com/justin4046/tar1090 2024-05-04 15:22:25 +02:00
Matthias Wirth
f3072c72e2 make arcgis FAA charts somewhat work
disabled for now due to limited functionality
2024-05-04 15:17:18 +02:00
Matthias Wirth
36d05e38ba fix indent for merge 2024-05-04 15:08:06 +02:00
Matthias Wirth
9612fbb935 Merge branch 'master' of https://github.com/ThomDyson/tar1090 2024-05-04 15:05:05 +02:00
justin4046
e044940fd2 change wording 2024-05-02 22:58:17 -05:00
justin4046
bbbdef0770 add altimeter pressure correction 2024-05-02 22:45:12 -05:00
Matthias Wirth
62b685cbef autoselect: minor logic change for corner cases 2024-05-02 14:52:16 +02:00
Thom Dyson
7e4ffa3c72 Update layers.js
Added support for FAA VFR Sectional, VFR Terminal, IFR Low, and IFR High charts from official FAA chart server.
2024-04-26 04:10:34 -04:00
Matthias Wirth
efb5ee64ae slight refactor actualOutline
timeout for outline.json loading
2024-04-25 17:40:24 +02:00
Matthias Wirth
06b45b388a multiOutline via config.js var 2024-04-25 16:39:48 +02:00
Dirk Hohndel
4cd5c3f6b9 allow multi range outlines to be used
This is a special case for a tar1090 instance that shows the combined output of
multiple readsb instances (like in a stage2 instance of the adsb.im feeder
image).

This tries once to download a multiOutline.json file and remembers if it exists
or if it should use the outline.json file instead. In the update loop it simply
checks for a third format where points is an array of arrays. And then loops
over that outer array - which in the case of the regular output.json is simply
an array with just one entry.

The additional overhead is negligible, the additional feature is really cool
(once you have the code to create merged outlines).

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2024-04-25 03:31:43 +00:00
Matthias Wirth
c0f9522584 heatmap: query option heatFilters
new heatmap query option:
significant slowdown / experimental
enable filtering by type code / type description / hex / DB flags /
military / registration / country of registration / data source
2024-04-03 21:19:37 +02:00
Matthias Wirth
8a6bde94ed config.js: add knobs for various overlay opacities 2024-03-28 13:39:46 +01:00
Matthias Wirth
a8111569c6 webgl: remove manual wraparound when zoomed out far
OpenLayers webgl icons are now properly replicated when zoomed out
further than 1 earth on the screen
Remove manual wraparound code to fix some planes not being shown at low
zoom levels near the border of the map
2024-03-28 13:25:28 +01:00