Type Alias: TrafficMapOptions
TrafficMapOptions =
object
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:45
Options for creating a Garmin traffic map.
Properties
adsbModeText?
optionaladsbModeText:Partial<Record<AdsbOperatingMode,string>>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:184
The text to display in the ADS-B operating mode indicator for each operating mode. Ignored if ADS-B is not supported.
airplaneIconAnchor
airplaneIconAnchor:
ReadonlyFloat64Array|Subscribable<ReadonlyFloat64Array>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:122
The point on the player airplane icon that is anchored to the airplane's position, or a subscribable which provides it. The point is expressed as a 2-tuple relative to the icon's width and height, with [0, 0] at the top left and [1, 1] at the bottom right.
airplaneIconSize
airplaneIconSize:
number
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:115
The size of the player airplane icon, in pixels.
airplaneIconSrc
airplaneIconSrc:
string|Subscribable<string>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:112
The URI of the player airplane icon's image asset
altitudeModeText?
optionalaltitudeModeText:Partial<Record<MapTrafficAltitudeRestrictionMode,string>>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:193
The text to display in the altitude restriction mode indicator for each operating mode. Ignored if
includeAltitudeModeIndicator is false.
configureFlightPlan()?
optionalconfigureFlightPlan: (builder) =>void
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:151
A function which configures the display of flight plan waypoints. Required to display the active flight plan.
Parameters
| Parameter | Type |
|---|---|
builder | MapWaypointDisplayBuilder |
Returns
void
dataUpdateFreq
dataUpdateFreq:
number|null|Subscribable<number|null>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:58
The default frequency, in hertz, at which to update player airplane and autopilot properties from their bound data
sources. If the frequency is null, then updates will not be throttled by frequency - each property will be
updated as soon as the value of its data source changes. If the frequency is not null, then each property will
only be updated when the map is updated, and the frequency of updates will not exceed updateFreq.
facilityLoader?
optionalfacilityLoader:FacilityLoader
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:47
The facility loader to use. If not defined, then a default instance will be created.
flightPathRendererFactory()?
optionalflightPathRendererFactory: (context) =>MapFlightPathPlanRenderer
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:148
A function that creates a flight path renderer to use to draw the flight plan. Required to display the active flight plan.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | MapSystemContext<any, any, any, any> | The map system context. |
Returns
A flight path renderer to use to draw the flight plan.
flightPlanner?
optionalflightPlanner:FlightPlanner|Subscribable<FlightPlanner>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:125
The flight planner containing the active flight plan. Required to display the active flight plan.
flightPlanWaypointRecordManagerFactory()?
optionalflightPlanWaypointRecordManagerFactory: (context,waypointRenderer) =>MapFlightPlanWaypointRecordManager
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:140
A function that creates a flight plan waypoint record manager to use to manage the waypoints to draw for the flight plan. Required to display the active flight plan.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | MapSystemContext<any, any, any, any> | The map system context. |
waypointRenderer | MapWaypointRenderer | The waypoint renderer used to draw the flight plan waypoints. |
Returns
MapFlightPlanWaypointRecordManager
A flight plan waypoint record manager to use to manage the waypoints to draw for the flight plan.
iconFactory?
optionaliconFactory:MapTrafficIntruderIconFactory
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:97
A function which creates intruder icons for the traffic display. If not defined, a default icon of type MapTrafficIntruderIcon is created for each intruder.
includeAdsbModeIndicator?
optionalincludeAdsbModeIndicator:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:178
Whether to include an ADS-B operating mode indicator. Defaults to true. Ignored if ADS-B is not supported.
includeAdsbOffBanner?
optionalincludeAdsbOffBanner:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:199
Whether to include an ADS-B standby mode warning banner. Defaults to true. Ignored if ADS-B is not supported.
includeAltitudeModeIndicator?
optionalincludeAltitudeModeIndicator:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:187
Whether to include an altitude restriction mode indicator. Defaults to true.
includeFailedBanner?
optionalincludeFailedBanner:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:202
Whether to include a traffic system failed mode warning banner. Defaults to true.
includeOperatingModeIndicator?
optionalincludeOperatingModeIndicator:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:169
Whether to include a traffic system operating mode indicator. Defaults to true.
includeOrientationIndicator?
optionalincludeOrientationIndicator:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:160
Whether to include an orientation indicator. Defaults to true.
includeRangeRings
includeRangeRings:
boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:103
Whether to include range rings.
includeStandbyBanner?
optionalincludeStandbyBanner:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:196
Whether to include a traffic system standby mode warning banner. Defaults to true.
initCanvasStyles()?
optionalinitCanvasStyles: (context) =>void
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:100
A function which initializes global canvas styles for the traffic display.
Parameters
| Parameter | Type |
|---|---|
context | CanvasRenderingContext2D |
Returns
void
lnavIndex?
optionallnavIndex:number|Subscribable<number>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:128
The index of the LNAV from which to source data. Defaults to 0.
mapRangeSettingManager?
optionalmapRangeSettingManager:UserSettingManager<TrafficMapRangeControllerSettings>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:213
A user setting manager containing the map range setting. If not defined, map range will not be controlled by user setting.
metricRangeArray?
optionalmetricRangeArray: readonlyNumberUnitInterface<Distance>[]
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:82
The map range array to use for metric units mode. If not defined, a range array will not automatically be set when entering metric units mode.
miniCompassImgSrc?
optionalminiCompassImgSrc:string
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:154
The URI of the mini-compass's image asset. Required to display the mini-compass.
nauticalRangeArray?
optionalnauticalRangeArray: readonlyNumberUnitInterface<Distance>[]
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:76
The map range array to use for nautical units mode. If not defined, a range array will not automatically be set when entering nautical units mode.
offScaleStatus?
optionaloffScaleStatus:MutableSubscribable<MapTrafficOffScaleStatus>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:91
A mutable subscribable to update with the traffic layer's off-scale intruder status.
operatingModeText?
optionaloperatingModeText:Partial<Record<TcasOperatingMode,string>>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:175
The text to display in the traffic system operating mode indicator for each operating mode. Ignored if
includeOperatingModeIndicator is false.
orientation
orientation:
MapOrientation|Subscribable<MapOrientation>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:157
The orientation of the map.
orientationText?
optionalorientationText:Partial<Record<MapOrientation,string>>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:166
The text to display in the orientation indicator for each orientation mode. Ignored if
includeOrientationIndicator is false.
rangeEndpoints?
optionalrangeEndpoints:ReadonlyFloat64Array|Subscribable<ReadonlyFloat64Array>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:70
The nominal range endpoints of the map, as [x1, y1, x2, y2], where each component is expressed relative to the
width or height of the map's projected window, excluding the dead zone. Defaults to [0.5, 0.5, 0.5, 0].
rangeRingOptions?
optionalrangeRingOptions:TrafficRangeRingOptions
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:109
Styling options for the range rings. If not defined, both the outer and inner label radial values are set to 135
degrees. Ignored if includeRangeRings is false.
supportDataIntegrity?
optionalsupportDataIntegrity:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:85
Whether to support data integrity state. Defaults to true.
targetOffset?
optionaltargetOffset:ReadonlyFloat64Array|Subscribable<ReadonlyFloat64Array>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:64
The nominal projected target offset of the map, as [x, y], where each component is expressed relative to the
width or height of the map's projected window, excluding the dead zone. Defaults to [0, 0].
trafficIconOptions
trafficIconOptions:
TrafficIconOptions
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:88
Configuration options for traffic icons.
trafficSettingManager?
optionaltrafficSettingManager:UserSettingManager<Partial<TrafficUserSettingTypes>>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:207
A user setting manager containing settings controlling the operation of the traffic system.
trafficSystem
trafficSystem:
TrafficSystem
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:50
The traffic system from which to retrieve intruder data.
unitsSettingManager?
optionalunitsSettingManager:UnitsUserSettingManager
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:216
A display units user setting manager. If not defined, map display units will not be controlled by user settings.
useRangeSettingByDefault?
optionaluseRangeSettingByDefault:boolean
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:222
Whether to use the map range user setting to control map range by default. Defaults to true. Ignored if
mapRangeSettingManager is not defined.
vnavIndex?
optionalvnavIndex:number|Subscribable<number>
Defined in: src/garminsdk/components/map/assembled/TrafficMapBuilder.tsx:131
The index of the VNAV from which to source data. Defaults to 0.