This release brings a variety of new map customization options to AirTrail.
The default map style has been enhanced to show more airport details when zoomed in (like taxiways, gates etc.).
You can now change the size of/hide the airport circles on the map, change the width of the route arcs to either be uniform or proportional to the frequency of the route, and you can now optionally enable the overlay of aviation charts on the map (requires configuration of the openAIP integration).
With this feature, you can add arbitrary data fields to flights.
This could be anything from the booking reference, how many frequent flyer points you earned, or the codeshare airline.
This update makes it possible to contribute to the list of airlines and aircraft models that is shipped with AirTrail, along with making it easier to contribute airline icons.
The flight list now shows airline icons if available, and the mobile flight list has been completely redesigned!
AirTrail now provides a growing selection of airline icons (at /static/airlines in the repository). At start-up, AirTrail will download them to a local directory of your choosing, so the icons don't depend on a third-party CDN to load.
You are encouraged to contribute missing airline icons to this repository for everyone to benefit, but of course you also have the ability to add/edit the icons of airlines locally through the Settings -> Data -> Airlines page.
Enabling airline icons
Apart from updating to this version, to enable airline uploads, some configuration changes are required. Namely, configuring the new UPLOAD_LOCATION environment variable to a path that AirTrail has access to.
For Docker users, this would mean the following changes:
# docker-compose.yml
services:
db:
...
airtrail:
...
+ volumes:
+ # Required for file uploads (e.g., airline icons)
+ # The path to the right of the colon needs to match UPLOAD_LOCATION in your .env file
+ - uploads:/app/uploads
volumes:
db_data:
+ uploads:
# .env
ORIGIN=http://localhost:3000
...
+ # File Uploads (optional)
+ ###################################################################################
+ # Path to store uploaded files (e.g., airline icons)
+ # If not set, file uploads will be disabled
+ # For Docker: Use a path inside the container that's mounted to a volume (e.g., /app/uploads)
+ # For local development: Use an absolute path on your system
+ UPLOAD_LOCATION=/app/uploads