Skip to main content

Class: EpicMapBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:48

Collection of function to help build boeing map systems.

Constructors

Constructor

new EpicMapBuilder(bus, mapDataProvider, pfdOrMfd, facLoader, flightPlanner, tcas): EpicMapBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:62

Creates a new EpicMapBuilder.

Parameters

ParameterTypeDescription
busEventBusthe event bus.
mapDataProviderMapDataProviderThe nd data provider.
pfdOrMfd"MFD" | "PFD"pfd or mfd.
facLoaderFacilityLoaderthe fac loader.
flightPlannerFlightPlannerthe flight planner.
tcasEpic2TcasIIThe Tcas instance. // *

Returns

EpicMapBuilder

Methods

withAirplaneIcon()

readonly withAirplaneIcon(builder): MapSystemBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:103

The map builder for the airplane icon.

Parameters

ParameterTypeDescription
builderMapSystemBuilderThe map system builder. // *

Returns

MapSystemBuilder

The map system builder, after it has been configured.


withEpic2MapStyles()

readonly withEpic2MapStyles(builder): MapSystemBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:78

Add the altitude arc.

Parameters

ParameterTypeDescription
builderMapSystemBuilderThe map system builder.

Returns

MapSystemBuilder

The map system builder, after it has been configured.


withFlightPlans()

readonly withFlightPlans(builder, flightPlanner, perfPlanRepository, mapDataProvider): MapSystemBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:177

Add the plan airports and runways

Parameters

ParameterTypeDescription
builderMapSystemBuilderThe map system builder.
flightPlannerFlightPlannerthe flight planner.
perfPlanRepositoryPerformancePlanRepository<Epic2PerformancePlan>The perfPlanRepository.
mapDataProviderMapDataProviderThe nd data provider.

Returns

MapSystemBuilder

The map system builder, after it has been configured.


withNearestWaypoints()

readonly withNearestWaypoints(builder, bus, mapDataProvider): MapSystemBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:151

Add the nearest waypoints layer.

Parameters

ParameterTypeDescription
builderMapSystemBuilderThe map system builder.
busEventBusThe event bus.
mapDataProviderMapDataProviderThe map data provider.

Returns

MapSystemBuilder

The map system builder, after it has been configured.


withTerrainColors()

readonly withTerrainColors(builder): MapSystemBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:88

Adds the terrain colors module.

Parameters

ParameterTypeDescription
builderMapSystemBuilderThe map system builder.

Returns

MapSystemBuilder

The map system builder, after it has been configured.


withTopOfDescent()

readonly withTopOfDescent(builder): MapSystemBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:210

Add the TOD & TOC to the map.

Parameters

ParameterTypeDescription
builderMapSystemBuilderThe map system builder.

Returns

MapSystemBuilder

The map system builder, after it has been configured.


withTraffic()

readonly withTraffic(builder): MapSystemBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:225

Add the map select waypoint layer.

Parameters

ParameterTypeDescription
builderMapSystemBuilderThe map system builder.

Returns

MapSystemBuilder

The map system builder, after it has been configured.


withWaypointDisplayController()

readonly withWaypointDisplayController(builder, mfdSettings, fixInfo?): MapSystemBuilder

Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:163

Add the waypoint display controller.

Parameters

ParameterTypeDescription
builderMapSystemBuilderThe map system builder.
mfdSettingsUserSettingManager<MfdAliasedUserSettingTypes>The mfd settings.
fixInfo?Epic2FixInfoManagerThe fix info manager.

Returns

MapSystemBuilder

The map system builder, after it has been configured.