fa_get_flight_map
Retrieve a rendered PNG map of a flight using its fa_flight_id, saving it to disk and returning the path or inline base64 when requested.
Instructions
Get a rendered map image (PNG) of a flight by fa_flight_id. Writes the PNG to disk (default: $AEROAPI_OUTPUT_DIR or cwd) and returns the path, or returns it inline as base64 when inline:true.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | fa_flight_id of the flight | |
| width | No | Image width in pixels | |
| height | No | Image height in pixels | |
| inline | No | Return the PNG inline as base64 instead of writing to disk | |
| output_dir | No | Directory to write the PNG to (default: $AEROAPI_OUTPUT_DIR or cwd). When AEROAPI_OUTPUT_DIR is set, this must be inside it. | |
| show_data_block | No | Overlay the flight data block on the map |