Commit Graph

1005 Commits

Author SHA1 Message Date
Matthias Wirth
d11a2423f2 bit more precise data fetch interval 2024-05-23 21:06:47 +02:00
Matthias Wirth
227021dd52 modify refresh rate calculationg for reapi / globeindex 2024-05-23 19:14:15 +02:00
Matthias Wirth
c92908d2b5 fixup minor shuffle mistakes 2024-05-23 18:30:48 +02:00
Matthias Wirth
1159ebc8b8 show route for highlighted plane 2024-05-23 16:44:52 +02:00
Matthias Wirth
0c3fdf6675 minor shuffle 2024-05-23 16:28:46 +02:00
Matthias Wirth
a7390bea5a use different cog wheel icon / add fullscreen button
cog wheel svg from tar1090 fork at https://github.com/ADSBexchange/tar1090

fixes: https://github.com/wiedehopf/tar1090/issues/277
2024-05-23 15:49:45 +02:00
Matthias Wirth
775e11ec90 dynGlobeRate: fix suspend / resume timer issue 2024-05-23 12:19:48 +02:00
Matthias Wirth
625078e9b8 delay legend loading a slight bit 2024-05-23 00:03:24 +02:00
Matthias Wirth
9f01920eaa minimal load ordering
maybe a tiny bit quicker
2024-05-22 23:31:39 +02:00
Matthias Wirth
e63dfd1961 zstddec load ordering 2024-05-22 23:20:39 +02:00
Matthias Wirth
ede9315050 startup order: minor 2024-05-22 21:28:46 +02:00
Matthias Wirth
8e33669cd8 specify sidebar height 2024-05-22 14:15:43 +02:00
Matthias Wirth
352fc53d48 avoid some refreshing during page load
run afterfirstfetch after a short timeout
2024-05-22 10:29:54 +02:00
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
325b6eec71 track history loading debug 2024-05-18 19:23:17 +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
justin4046
bf28cbc8a5 dont correct baro when on ground 2024-05-07 18:49:52 -05: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
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
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
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
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
1d4b53223c allow adjusting aircraft icon alpha for webgl 2024-03-28 13:20:41 +01:00
Matthias Wirth
c690555bd3 respect config.js setting of DisplayUnits
fixes: https://github.com/wiedehopf/tar1090/issues/265
2024-02-07 17:40:11 +01:00
Rajan Patel
fc9101106c don't gate source filters by globeIndex 2024-02-07 17:03:45 +01:00
Matthias Wirth
df5d6d0c53 don't disable webgl for the next session if it fails 2024-01-11 15:31:15 +01:00