Commit Graph

1616 Commits

Author SHA1 Message Date
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
Matthias Wirth
1d4b53223c allow adjusting aircraft icon alpha for webgl 2024-03-28 13:20:41 +01:00
Dziban303
fd5665c1db disable chartbundle layers; add special use airspace layer 2024-03-03 17:12:13 +01:00
Matthias Wirth
6624e19f5b allow longer seen / seen_pos in binCraft version 2024-02-18 15:25:25 +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
f8e036e87a update css for openlayers 2024-01-11 15:19:50 +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
dafba9971c always load type / reg for pTracks from client side db even with server side db 2023-12-06 22:50:40 +01:00
Matthias Wirth
3c6a15369c only query rainviewer json if rainviewer layer is active 2023-10-14 09:30:57 +02:00
Matthias Wirth
405603be88 enable / add TFR layer using Kevins github TFR kml 2023-10-14 09:11:05 +02:00
Katia Esposito
2f5541ebe6 Remove route spam 2023-10-14 08:24:15 +02:00
Dirk Hohndel
fe7a522a64 remove unnecessary and misleading header
This has nothing to do with CORS. There is no need for this header.

This should address a change requested by Ramon (@kx1t)

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-10-14 08:23:14 +02:00
Matthias Wirth
acf6dcf1dc fix up dziban PR
re-add noaa radar layer
fix whitespace
2023-10-14 08:22:29 +02:00
Dziban303
14e1155132 refresh sat layer every 15 mins 2023-08-26 14:33:53 -05:00
Dziban303
e6e93fa9d3 Change NOAA Radar to NOAA Sat, add Rainviewer layers 2023-08-26 14:12:38 -05:00
Matthias Wirth
a84872257f sync up webgl / non webgl outlineWidth better
decrease default outline width by 10%
2023-08-17 07:25:30 +02: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
Matthias Wirth
0b8388d592 fix skybrary tis-b link
fixes: https://github.com/wiedehopf/tar1090/issues/259
2023-07-27 22:10:39 +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
Dirk Hohndel
86aeaa96d9 lower the route API wait to 1 second
With the limit of 100 callsigns per API call, sending these
requests every second should create a more responsive experience
while still not overloading the server.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-05-10 17:24:56 +02:00
Dirk Hohndel
657c3f6437 prevent bursts to the route API
Never send more than 100 callsigns to the route server. If there
are more queued up (for example on an aggregator when the user
zooms out), they are sent in batches of 100 callsigns every 10
seconds.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2023-05-10 17:24:56 +02:00