Skip to main content

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​

ParameterTypeDescription
mapStylesMapStylesthe Epic2 map styles.

Returns​

MapSystemConfig

Methods​

configureFlightPlan()​

readonly configureFlightPlan(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​

ParameterTypeDescription
busEventBusThe event bus to use.
ndDataProviderMapDataProviderThe ND data provider.
vnavDataModuleVNavDataModuleThe vnav data module. // *
perfPlanRepositoryPerformancePlanRepository<Epic2PerformancePlan>The perfPlanRepository.

Returns​

A builder function to configure the flight plan display system.

(builder, context): void

Parameters​
ParameterType
builderFlightPlanDisplayBuilder
contextMapSystemContext<{ flightPlan: MapFlightPlanModule; }>
Returns​

void


configureMapWaypoints()​

readonly configureMapWaypoints(bus, mapDataProvider): (builder) => void

Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:290

Configures the map waypoint display layer.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
mapDataProviderMapDataProviderThe map data provider.

Returns​

A builder function to configure the waypoint display system.

(builder): void

Parameters​
ParameterType
builderWaypointDisplayBuilder
Returns​

void


configureModFlightPlan()​

readonly configureModFlightPlan(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​

ParameterTypeDescription
busEventBusThe event bus to use.

Returns​

A builder function to configure the mod flight plan display system.

(builder): void

Parameters​
ParameterType
builderFlightPlanDisplayBuilder
Returns​

void


createTrafficIntruderIcon()​

readonly createTrafficIntruderIcon(): (intruder, context) => AbstractMapTrafficIntruderIcon

Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:542

Returns​

(intruder, context): AbstractMapTrafficIntruderIcon

Parameters​
ParameterType
intruderTcasIntruder
contextMapSystemContext<Epic2MapModules, any, any, any>
Returns​

AbstractMapTrafficIntruderIcon


initTrafficLayerCanvasStyles()​

readonly initTrafficLayerCanvasStyles(context): void

Defined in: workingtitle-instruments-epic2/shared/Map/MapSystemConfig.ts:559

Initializes global canvas styles for the traffic layer.

Parameters​

ParameterTypeDescription
contextCanvasRenderingContext2DThe canvas rendering context for which to initialize styles.

Returns​

void