wiedehopf / tar1090

Provides an improved webinterface for use with ADS-B decoders readsb / dump1090-fa
Other
1.25k stars 236 forks source link

[Feature] Add aircraft count on tab #333

Closed Bartholomew22 closed 1 week ago

Bartholomew22 commented 3 weeks ago

Add a count of aircraft on visible map similar to that of Piaware Skyaware page as seen on port 8080. This allows on to monitor counts from multiple sites without shifting focus to a specific page.

snippet

RundesBalli commented 3 weeks ago
sed --follow-symlinks -i -E 's/.*PlaneCountInTitle =.*/PlaneCountInTitle = true;/' /usr/local/share/tar1090/html/config.js

If you want the message rate also:

sed --follow-symlinks -i -E 's/.*MessageRateInTitle =.*/MessageRateInTitle = true;/' /usr/local/share/tar1090/html/config.js

After that, CTRL+F5 in the tab: image

You're welcome