Interface: NearestIntersectionFilteredSearchSession<IcaoDataType>
Defined in: src/sdk/navigation/FacilityClient.ts:104
A nearest search session that can filter intersections
Extends
NearestIcaoSearchSession<IcaoDataType>
Type Parameters
| Type Parameter |
|---|
IcaoDataType extends NearestIcaoSearchSessionDataType |
Properties
icaoDataType
readonlyicaoDataType:IcaoDataType
Defined in: src/sdk/navigation/FacilityClient.ts:77
The data type of the ICAOs provided by this session.
Inherited from
NearestIcaoSearchSession.icaoDataType
Methods
searchNearest()
searchNearest(
lat,lon,radius,maxItems):Promise<NearestSearchResults<NearestIcaoSearchSessionDataTypeMap[IcaoDataType],NearestIcaoSearchSessionDataTypeMap[IcaoDataType]>>
Defined in: src/sdk/navigation/FacilityClient.ts:48
Searches for nearest facilities from the specified point.
Parameters
| Parameter | Type | Description |
|---|---|---|
lat | number | The latitude, in degrees. |
lon | number | The longitude, in degrees. |
radius | number | The radius around the point to search, in meters. |
maxItems | number | The maximum number of items. |
Returns
Promise<NearestSearchResults<NearestIcaoSearchSessionDataTypeMap[IcaoDataType], NearestIcaoSearchSessionDataTypeMap[IcaoDataType]>>
The nearest search results.
Inherited from
NearestIcaoSearchSession.searchNearest
setIntersectionFilter()
setIntersectionFilter(
typeMask,showTerminalWaypoints?):void
Defined in: src/sdk/navigation/FacilityClient.ts:110
Sets the filter for the intersection nearest search.
Parameters
| Parameter | Type | Description |
|---|---|---|
typeMask | number | A bitmask to determine which JS intersection types to show. |
showTerminalWaypoints? | boolean | Whether or not to show terminal waypoints. Defaults to true. |
Returns
void