Skip to main content

Class: NearestVorSearchSession

A session for searching for nearest VORs.

Hierarchy

  • CoherentNearestSearchSession<string, string>

    NearestVorSearchSession

Constructors

constructor

new NearestVorSearchSession(sessionId): NearestVorSearchSession

Creates an instance of a CoherentNearestSearchSession.

Parameters

NameTypeDescription
sessionIdnumberThe ID of the session.

Returns

NearestVorSearchSession

Inherited from

CoherentNearestSearchSession<string, string>.constructor

Defined in

src/sdk/navigation/FacilityLoader.ts:727

Properties

sessionId

Protected Readonly sessionId: number

The ID of the session.

Inherited from

CoherentNearestSearchSession.sessionId

Defined in

src/sdk/navigation/FacilityLoader.ts:727


Defaults

Static Defaults: Object

Default filters for the nearest VORs search session.

Type declaration

NameType
ClassMasknumber
TypeMasknumber

Defined in

src/sdk/navigation/FacilityLoader.ts:832

Methods

onSearchCompleted

onSearchCompleted(results): void

A callback called by the facility loader when a nearest search has completed.

Parameters

NameTypeDescription
resultsNearestSearchResults<string, string>The search results.

Returns

void

Inherited from

CoherentNearestSearchSession.onSearchCompleted

Defined in

src/sdk/navigation/FacilityLoader.ts:746


searchNearest

searchNearest(lat, lon, radius, maxItems): Promise<NearestSearchResults<string, string>>

Parameters

NameType
latnumber
lonnumber
radiusnumber
maxItemsnumber

Returns

Promise<NearestSearchResults<string, string>>

Inherit Doc

Inherited from

CoherentNearestSearchSession.searchNearest

Defined in

src/sdk/navigation/FacilityLoader.ts:730


setVorFilter

setVorFilter(classMask, typeMask): void

Sets the filter for the VOR nearest search.

Parameters

NameTypeDescription
classMasknumberA bitmask to determine which JS VOR classes to show.
typeMasknumberA bitmask to determine which JS VOR types to show.

Returns

void

Defined in

src/sdk/navigation/FacilityLoader.ts:853