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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | the event bus. |
mapDataProvider | MapDataProvider | The nd data provider. |
pfdOrMfd | "MFD" | "PFD" | pfd or mfd. |
facLoader | FacilityLoader | the fac loader. |
flightPlanner | FlightPlanner | the flight planner. |
tcas | Epic2TcasII | The Tcas instance. // * |
Returns
EpicMapBuilder
Methods
withAirplaneIcon()
readonlywithAirplaneIcon(builder):MapSystemBuilder
Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:103
The map builder for the airplane icon.
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | MapSystemBuilder | The map system builder. // * |
Returns
The map system builder, after it has been configured.
withEpic2MapStyles()
readonlywithEpic2MapStyles(builder):MapSystemBuilder
Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:78
Add the altitude arc.
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | MapSystemBuilder | The map system builder. |
Returns
The map system builder, after it has been configured.
withFlightPlans()
readonlywithFlightPlans(builder,flightPlanner,perfPlanRepository,mapDataProvider):MapSystemBuilder
Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:177
Add the plan airports and runways
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | MapSystemBuilder | The map system builder. |
flightPlanner | FlightPlanner | the flight planner. |
perfPlanRepository | PerformancePlanRepository<Epic2PerformancePlan> | The perfPlanRepository. |
mapDataProvider | MapDataProvider | The nd data provider. |
Returns
The map system builder, after it has been configured.
withNearestWaypoints()
readonlywithNearestWaypoints(builder,bus,mapDataProvider):MapSystemBuilder
Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:151
Add the nearest waypoints layer.
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | MapSystemBuilder | The map system builder. |
bus | EventBus | The event bus. |
mapDataProvider | MapDataProvider | The map data provider. |
Returns
The map system builder, after it has been configured.
withTerrainColors()
readonlywithTerrainColors(builder):MapSystemBuilder
Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:88
Adds the terrain colors module.
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | MapSystemBuilder | The map system builder. |
Returns
The map system builder, after it has been configured.
withTopOfDescent()
readonlywithTopOfDescent(builder):MapSystemBuilder
Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:210
Add the TOD & TOC to the map.
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | MapSystemBuilder | The map system builder. |
Returns
The map system builder, after it has been configured.
withTraffic()
readonlywithTraffic(builder):MapSystemBuilder
Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:225
Add the map select waypoint layer.
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | MapSystemBuilder | The map system builder. |
Returns
The map system builder, after it has been configured.
withWaypointDisplayController()
readonlywithWaypointDisplayController(builder,mfdSettings,fixInfo?):MapSystemBuilder
Defined in: workingtitle-instruments-epic2/shared/Map/EpicMapBuilder.tsx:163
Add the waypoint display controller.
Parameters
| Parameter | Type | Description |
|---|---|---|
builder | MapSystemBuilder | The map system builder. |
mfdSettings | UserSettingManager<MfdAliasedUserSettingTypes> | The mfd settings. |
fixInfo? | Epic2FixInfoManager | The fix info manager. |
Returns
The map system builder, after it has been configured.