Class: MapTerrainColorsController
Defined in: workingtitle-instruments-wt21/shared/Map/MapTerrainColorsController.ts:25
Controls the display of terrain colors based on GPWS data.
Extends
Constructors
Constructor
new MapTerrainColorsController(
context):MapTerrainColorsController
Defined in: sdk/components/mapsystem/MapSystemController.ts:30
Constructor.
Parameters
| Parameter | Type | Description |
|---|---|---|
context | MapSystemContext<MapTerrainColorsControllerModules, any, any, any> | This controller's map context. |
Returns
MapTerrainColorsController
Inherited from
MapSystemController.constructor
Properties
context
protectedreadonlycontext:MapSystemContext<MapTerrainColorsControllerModules,any,any,any>
Defined in: sdk/components/mapsystem/MapSystemController.ts:24
Inherited from
Accessors
isAlive
Get Signature
get isAlive():
boolean
Defined in: sdk/components/mapsystem/MapSystemController.ts:20
Whether this controller is alive.
Returns
boolean
Inherited from
Methods
destroy()
destroy():
void
Defined in: sdk/components/mapsystem/MapSystemController.ts:106
Destroys this controller.
Returns
void
Inherited from
onAfterMapRender()
onAfterMapRender():
void
Defined in: workingtitle-instruments-wt21/shared/Map/MapTerrainColorsController.ts:91
This method is called after this controller' map is rendered.
Returns
void
Overrides
MapSystemController.onAfterMapRender
onAfterUpdated()
onAfterUpdated(
time):void
Defined in: workingtitle-instruments-wt21/shared/Map/MapTerrainColorsController.ts:133
This method is called immediately after this controller's map updates its layers.
Parameters
| Parameter | Type | Description |
|---|---|---|
time | number | The current time, as a Javascript timestamp. |
Returns
void
Overrides
MapSystemController.onAfterUpdated
onBeforeUpdated()
onBeforeUpdated(
time,elapsed):void
Defined in: sdk/components/mapsystem/MapSystemController.ts:68
This method is called immediately before this controller's map updates its layers.
Parameters
| Parameter | Type | Description |
|---|---|---|
time | number | The current time, as a Javascript timestamp. |
elapsed | number | The elapsed time, in milliseconds, since the last update. |
Returns
void
Inherited from
MapSystemController.onBeforeUpdated
onDeadZoneChanged()
onDeadZoneChanged(
deadZone):void
Defined in: sdk/components/mapsystem/MapSystemController.ts:48
This method is called when the dead zone of this controller's map changes.
Parameters
| Parameter | Type | Description |
|---|---|---|
deadZone | ReadonlyFloat64Array | The map's new dead zone. |
Returns
void
Inherited from
MapSystemController.onDeadZoneChanged
onMapDestroyed()
onMapDestroyed():
void
Defined in: sdk/components/mapsystem/MapSystemController.ts:99
This method is called when this controller's map is destroyed.
Returns
void
Inherited from
MapSystemController.onMapDestroyed
onMapProjectionChanged()
onMapProjectionChanged(
mapProjection,changeFlags):void
Defined in: sdk/components/mapsystem/MapSystemController.ts:58
This method is called when the projection of this controller's map changes.
Parameters
| Parameter | Type | Description |
|---|---|---|
mapProjection | MapProjection | The map projection. |
changeFlags | number | Bit flags describing the type of change. |
Returns
void
Inherited from
MapSystemController.onMapProjectionChanged
onSleep()
onSleep():
void
Defined in: workingtitle-instruments-wt21/shared/Map/MapTerrainColorsController.ts:117
This method is called when this controller's map is put to sleep.
Returns
void
Overrides
onWake()
onWake():
void
Defined in: sdk/components/mapsystem/MapSystemController.ts:85
This method is called when this controller's map is awakened.
Returns
void