Hi Everyone,
Using the REST API, I’m trying to generate an image of a flight map similar to the one that’s used on FA’s website. Using MapFlightEx, I’m able to get an image of the flight path, but passing boolean parameters, I’m not sure what’s expected to indicate true/false. For show_airports and and airports_expand_view, I’ve tried 0/1, true/false, and True/False and the images returned don’t seem to respect it (even though I know where the airports are on the map from using MapFlight). Here’s my URL:
http://flightxml.flightaware.com/json/FlightXML2/MapFlightEx?faFlightID=RPA4370-1449072900-schedule-0001&show_airports=1&airports_expand_view=1
Here is the image that’s returned:
KMIA should be visible in the bottom right corner. Also the map should be large enough to include the destination of the flight (KPNS in this case).
Link to the relevant part of the documentation:
http://flightxml.flightaware.com/soap/FlightXML2/doc#op_MapFlightEx
Thanks in advance.