Skip to main content

Class: MapRangeEndpointsController

Controls the map's nominal range endpoints.

Hierarchy

  • MapSystemController

    MapRangeEndpointsController

Constructors

constructor

new MapRangeEndpointsController(context, projectedRange, nominalRangeEndpoints): MapRangeEndpointsController

Creates a new instance of MapRangeEndpointsController.

Parameters

NameTypeDescription
contextMapSystemContextThis controller's map context.
projectedRangenumber | Subscribable<number>The projected scale of the map's nominal range, in pixels.
nominalRangeEndpointsMutableSubscribable<any, Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>>The mutable subscribable to which to write computed nominal range endpoints.

Returns

MapRangeEndpointsController

Overrides

MapSystemController.constructor

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/Controllers/MapRangeEndpointsController.ts:24

Properties

context

Protected Readonly context: MapSystemContext<any, any, any, any>

Inherited from

MapSystemController.context

Defined in

src/sdk/components/mapsystem/MapSystemController.ts:24

Accessors

isAlive

get isAlive(): boolean

Whether this controller is alive.

Returns

boolean

Inherited from

MapSystemController.isAlive

Defined in

src/sdk/components/mapsystem/MapSystemController.ts:20

Methods

destroy

destroy(): void

Returns

void

Inherit Doc

Overrides

MapSystemController.destroy

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/Controllers/MapRangeEndpointsController.ts:83


onAfterMapRender

onAfterMapRender(): void

Returns

void

Inherit Doc

Overrides

MapSystemController.onAfterMapRender

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/Controllers/MapRangeEndpointsController.ts:35


onAfterUpdated

onAfterUpdated(time, elapsed): void

This method is called immediately after this controller's map updates its layers.

Parameters

NameTypeDescription
timenumberThe current time, as a Javascript timestamp.
elapsednumberThe elapsed time, in milliseconds, since the last update.

Returns

void

Inherited from

MapSystemController.onAfterUpdated

Defined in

src/sdk/components/mapsystem/MapSystemController.ts:78


onBeforeUpdated

onBeforeUpdated(): void

Returns

void

Inherit Doc

Overrides

MapSystemController.onBeforeUpdated

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/Controllers/MapRangeEndpointsController.ts:54


onDeadZoneChanged

onDeadZoneChanged(deadZone): void

This method is called when the dead zone of this controller's map changes.

Parameters

NameTypeDescription
deadZoneReadonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>The map's new dead zone.

Returns

void

Inherited from

MapSystemController.onDeadZoneChanged

Defined in

src/sdk/components/mapsystem/MapSystemController.ts:48


onMapDestroyed

onMapDestroyed(): void

Returns

void

Inherit Doc

Overrides

MapSystemController.onMapDestroyed

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/Controllers/MapRangeEndpointsController.ts:78


onMapProjectionChanged

onMapProjectionChanged(mapProjection, changeFlags): void

Parameters

NameType
mapProjectionMapProjection
changeFlagsnumber

Returns

void

Inherit Doc

Overrides

MapSystemController.onMapProjectionChanged

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Components/Map/Controllers/MapRangeEndpointsController.ts:47


onSleep

onSleep(): void

This method is called when this controller's map is put to sleep.

Returns

void

Inherited from

MapSystemController.onSleep

Defined in

src/sdk/components/mapsystem/MapSystemController.ts:92


onWake

onWake(): void

This method is called when this controller's map is awakened.

Returns

void

Inherited from

MapSystemController.onWake

Defined in

src/sdk/components/mapsystem/MapSystemController.ts:85