@squawk
    Preparing search index...

    Interface NearestAirportQuery

    A query to find airports near a geographic position.

    interface NearestAirportQuery {
        lat: number;
        limit?: number;
        lon: number;
        maxDistanceNm?: number;
        minRunwayLengthFt?: number;
        types?: ReadonlySet<FacilityType>;
    }
    Index

    Properties

    lat: number

    Latitude in decimal degrees (WGS84).

    limit?: number

    Maximum number of results to return. Defaults to 10.

    lon: number

    Longitude in decimal degrees (WGS84).

    maxDistanceNm?: number

    Maximum distance in nautical miles. Defaults to 30.

    minRunwayLengthFt?: number

    Minimum runway length in feet. When set, only airports with at least one runway meeting this length are included.

    types?: ReadonlySet<FacilityType>

    Optional set of facility types to include. When omitted, all types are included.