Skip to content

Commit

Permalink
add READSB_ENABLE_ACTUALRANGE
Browse files Browse the repository at this point in the history
  • Loading branch information
kx1t committed Oct 26, 2023
1 parent e5ca69e commit 1f1db6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@ All of the variables below are optional.
| `TAR1090_IMAGE_CONFIG_TEXT` | Text to display for the config link | `null` |
| `TAR1090_DISABLE` | Set to `true` to disable the web server and all websites (including the map, `graphs1090`, `heatmap`, `pTracks`, etc.) | Unset |
| `READSB_ENABLE_HEATMAP` | Set to `true` or leave unset to enable the HeatMap function available at `http://myip/?Heatmap`; set to `false` to disable the HeapMap function | `true` (enabled) |
| `TAR1090_ENABLE_ACTUALRANGE` | Set to `true` or leave unset to enable the outline of the actual range of your station on the map; set to `false` to disable the this outline | `true` (enabled) |

- For documentation on the aircraft.json format see this page: <https://github.com/wiedehopf/readsb/blob/dev/README-json.md>
- TAR1090_ENABLE_AC_DB causes readsb to load the tar1090 database as a csv file from this repository: <https://github.com/wiedehopf/tar1090-db/tree/csv>
Expand Down
4 changes: 4 additions & 0 deletions rootfs/etc/s6-overlay/scripts/04-tar1090-configure
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,10 @@ if [[ -n "$TAR1090_SITENAME" ]]; then
echo "SiteName = \"${TAR1090_SITENAME}\";"
fi

if chk_disabled "${TAR1090_ENABLE_ACTUALRANGE}"; then
echo "actual_range_show = false;"
fi

if [[ -n "$TAR1090_RANGE_OUTLINE_COLOR" ]]; then
echo "range_outline_color = '${TAR1090_RANGE_OUTLINE_COLOR}';"
fi
Expand Down

0 comments on commit 1f1db6f

Please sign in to comment.