LiveFlight

public struct LiveFlight : Codable, Hashable
extension LiveFlight: PolygonFilterable

The live flight object.

  • id

    Generated identified based on number, dep, and dest

    Declaration

    Swift

    public var id: String
  • Flight number.

    Declaration

    Swift

    public var number: String
  • dep

    Departure airport’s ICAO code.

    Declaration

    Swift

    public var dep: String
  • Destination airport’s ICAO code.

    Declaration

    Swift

    public var dest: String
  • The aircraft type. Typically it is an ICAO code.

    Declaration

    Swift

    public var acType: String
  • Aircraft size type based on acType.

    Declaration

    Swift

    public var acSize: AircraftSize
  • ts

    A UNIX timestamp of when the live flight was reported.

    Declaration

    Swift

    public var ts: Int
  • Location coordinate.

    Could be last reported or predicted based on the last reported if LiveFlightQuery.predict was set to true.

    Declaration

    Swift

    public var coordinate: CLLocationCoordinate2D { get }
  • Altitude. Measured in feet.

    Declaration

    Swift

    public var altFt: Double { get }
  • hdg

    Heading. Measured in degrees.

    Declaration

    Swift

    public var hdg: Int
  • Speed. Measured in meters per second (m/s).

    Declaration

    Swift

    public var spdMs: CLLocationSpeed
  • A tile representation of the flight’s location.

    Declaration

    Swift

    public var tile: Tile