Class: MapSystemConfig
Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:36
A map system config for Boeing maps.
Constructors
Constructor
new MapSystemConfig(
mapStyles):MapSystemConfig
Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:142
Creates a new map system config.
Parameters
| Parameter | Type | Description |
|---|---|---|
mapStyles | MapStyles | the Epic2 map styles. |
Returns
MapSystemConfig
Methods
configureFlightPlan()
readonlyconfigureFlightPlan(bus,ndDataProvider,vnavDataModule,perfPlanRepository): (builder,context) =>void
Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:350
Configures the map flight plan display layer.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus to use. |
ndDataProvider | MapDataProvider | The ND data provider. |
vnavDataModule | VNavDataModule | The vnav data module. // * |
perfPlanRepository | PerformancePlanRepository<Epic2PerformancePlan> | The perfPlanRepository. |
Returns
A builder function to configure the flight plan display system.
(
builder,context):void
Parameters
| Parameter | Type |
|---|---|
builder | FlightPlanDisplayBuilder |
context | MapSystemContext<{ flightPlan: MapFlightPlanModule; }> |
Returns
void
configureMapWaypoints()
readonlyconfigureMapWaypoints(bus,mapDataProvider): (builder) =>void
Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:290
Configures the map waypoint display layer.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
mapDataProvider | MapDataProvider | The map data provider. |
Returns
A builder function to configure the waypoint display system.
(
builder):void
Parameters
| Parameter | Type |
|---|---|
builder | WaypointDisplayBuilder |
Returns
void
configureModFlightPlan()
readonlyconfigureModFlightPlan(bus): (builder) =>void
Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:454
Configures the map flight plan display layer for the mod flight plan.
Parameters
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus to use. |
Returns
A builder function to configure the mod flight plan display system.
(
builder):void
Parameters
| Parameter | Type |
|---|---|
builder | FlightPlanDisplayBuilder |
Returns
void
createTrafficIntruderIcon()
readonlycreateTrafficIntruderIcon(): (intruder,context) =>AbstractMapTrafficIntruderIcon
Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:542
Returns
(
intruder,context):AbstractMapTrafficIntruderIcon
Parameters
| Parameter | Type |
|---|---|
intruder | TcasIntruder |
context | MapSystemContext<Epic2MapModules, any, any, any> |
Returns
AbstractMapTrafficIntruderIcon
initTrafficLayerCanvasStyles()
readonlyinitTrafficLayerCanvasStyles(context):void
Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:559
Initializes global canvas styles for the traffic layer.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | CanvasRenderingContext2D | The canvas rendering context for which to initialize styles. |
Returns
void