Flight Distance


#1

How do i get flight distance because FlightInfo API call does not return flight distance


#2

A simple version of the flight distance is simply the length between the origin and destination. You can obtain the latitude and longitude of the origin and destination airports using AirportInfo, and then use LatLongsToDistance to compute the great circle distance between them.


#3

Thanks :slight_smile: