Commit Graph

969 Commits

Author SHA1 Message Date
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
Matthias Wirth
ec4aea5489 update OpenLayers to 8.2.0 2024-01-11 15:19:50 +01:00
Matthias Wirth
1b690c09b2 Limit tile queue so the slow map loading doesn't inhibit plane data loading 2024-01-11 12:49:43 +01:00
Matthias Wirth
d4cb4e1069 some more debugging 2024-01-11 12:15:30 +01:00
Matthias Wirth
9549670792 add some error catching into fetchFail and fetchDone to track down weird error 2024-01-11 11:56:23 +01:00
Matthias Wirth
08eeef3a9d tried to make sprites.png get generated on startup
doesn't work leave dead code in for future progress possibly
2023-08-17 07:08:58 +02:00
Matthias Wirth
c8ec51bb9f autoSelect coords 2023-07-28 10:25:07 +02:00
Dirk Hohndel
523efc91e4 fix stupid typo
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-06-18 06:04:58 +02:00
Roger Howell
e4a4d43577 Add configuration for terrain limit line opacity 2023-06-17 22:58:56 +02:00
Dirk Hohndel
7a75b5427e add configurable link back to a config page
This allows an obvious way from the map display to go back to
a web UI that can configure a feeder setup.
Off by default.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-06-17 22:58:14 +02:00
Dirk Hohndel
05d1e0f0d4 only have one route check API call in flight
As requested by the API server maintainer, this will keep unresolved
callsigns queued until the previous API request has been completed.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-05-20 04:52:22 +02:00
Dirk Hohndel
c2f0a0f310 request the first routes after one second
Again, aiming for a more responsive look and feel.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-05-10 17:24:56 +02:00
Matthias Wirth
468555ef70 routeApi stuff 2023-04-21 19:12:49 +02:00
Matthias Wirth
77ca5c7f5d some adjustments to the routeset merge 2023-04-18 18:29:53 +02:00
Matthias Wirth
ba61924a02 Merge branch 'routesets' of https://github.com/dirkhh/tar1090 2023-04-18 18:04:00 +02:00
Matthias Wirth
ce46cee26f Update GPS Location default selectable in config.js 2023-04-13 18:14:02 +02:00
Matthias Wirth
5401e1154d add URL query parameters for range rings / alt chart
implements: https://github.com/wiedehopf/tar1090/pull/235
2023-04-01 16:09:57 +02:00
Matthias Wirth
a1b9b5dcd2 better cache busting using md5sum 2023-04-01 15:46:28 +02:00
Katia
7191aeb6b8 Add planespottersAPIurl variable 2023-03-29 14:16:29 +02:00
Dirk Hohndel
98dc25d5fe Add ability to download route information from an API server
This collects the callsigns in question in batches - the first one
after 5 seconds, after that every 10 seconds, and calls a (configurable)
backend server. This server can be run locally or a public server can be
used - right now this is configured for api.adsb.lol.

The feature is turned off by default.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-03-21 07:48:06 -07:00
Matthias Wirth
168ccba6a6 more logging to find repetitive location queries 2023-02-16 18:22:37 +01:00
Matthias Wirth
b6950664aa use server side message rate when emitted by readsb 2023-02-16 16:31:59 +01:00
Matthias Wirth
5b8f5452b6 dyngloberate 2023-02-16 15:57:12 +01:00
Matthias Wirth
51a3b142f9 fix sorting by wind direction 2023-02-09 14:50:55 +01:00
Mark Pentler
4565f460d2 Update script.js
Fixed obvious typo
2023-01-19 07:39:48 +01:00
iain MacDonnell
f06328af77 improve infoBox positioning
Prior calculation of the top-left corner location of the infoBox could
result in negative values, placing the element (partially) out of view.
Also, positioning was inconsistent, depending on whether left/right or
above/below the plane marker.

With this change, the size of the infoBox is taken info account when
calculating the relative position, and it ensured that the values would
not be less than zero.
2022-12-31 12:56:40 +00:00
Matthias Wirth
0678a884f1 fix recently introduce issue on mobile
fixes: https://github.com/wiedehopf/tar1090/issues/203
2022-10-06 16:32:02 +02:00
Matthias Wirth
6df7134f10 delayed ad loading and stuff 2022-10-06 08:37:43 +02:00
Matthias Wirth
a7ae8b462e minor 2022-10-04 21:52:27 +02:00
Matthias Wirth
7f86b207ca fix aircraft disappearing when deselecting in replay mode 2022-09-07 17:37:27 +02:00
Matthias Wirth
1afe49bc66 dynamic cache busting fallback fix 2022-09-06 16:05:10 +02:00
Matthias Wirth
ba565bfd15 possibly fix weird issue 2022-09-05 20:14:07 +02:00
Matthias Wirth
ed0c43fe3b avoid unnecessary trace draws 2022-09-05 16:47:34 +02:00
Matthias Wirth
ebca300b44 minor 2022-09-05 15:48:31 +02:00
Matthias Wirth
d445a3c5db test commit - no changes 2022-09-05 15:15:11 +02:00
Matthias Wirth
995d60f76b fix callsign filter 2022-09-04 13:40:42 +02:00
Matthias Wirth
3ef0cdd6b3 more filters
overhaul filter system
2022-09-03 20:11:06 +02:00