Skip to main content

Class: NextGenNavDataFieldDtgRenderer

Renders next-generation (NXi, G3000, etc) Distance to Destination navigation data fields.

Hierarchy

Constructors

constructor

new NextGenNavDataFieldDtgRenderer(unitsSettingManager): NextGenNavDataFieldDtgRenderer

Constructor.

Parameters

NameTypeDescription
unitsSettingManagerUnitsUserSettingManager<UnitsUserSettingTypes>A user setting manager for measurement units.

Returns

NextGenNavDataFieldDtgRenderer

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.constructor

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:41

Properties

unitsSettingManager

Protected Readonly unitsSettingManager: UnitsUserSettingManager<UnitsUserSettingTypes>

A user setting manager for measurement units.

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.unitsSettingManager

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:41


ALTITUDE_FORMATTER

Static Protected Readonly ALTITUDE_FORMATTER: (number: number) => string

Type declaration

▸ (number): string

Parameters
NameType
numbernumber
Returns

string

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.ALTITUDE_FORMATTER

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:22


ANGLE_FORMATTER

Static Protected Readonly ANGLE_FORMATTER: (number: number) => string

Type declaration

▸ (number): string

Parameters
NameType
numbernumber
Returns

string

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.ANGLE_FORMATTER

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:23


BEARING_FORMATTER

Static Protected Readonly BEARING_FORMATTER: (number: number) => string

Type declaration

▸ (number): string

Parameters
NameType
numbernumber
Returns

string

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.BEARING_FORMATTER

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:24


DISTANCE_FORMATTER

Static Protected Readonly DISTANCE_FORMATTER: (number: number) => string

Type declaration

▸ (number): string

Parameters
NameType
numbernumber
Returns

string

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.DISTANCE_FORMATTER

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:25


DURATION_OPTIONS

Static Protected Readonly DURATION_OPTIONS: Object

Type declaration

NameType
delimDurationDisplayDelim
formatDurationDisplayFormat
nanStringstring
padnumber

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.DURATION_OPTIONS

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:30


FUEL_FORMATTER

Static Protected Readonly FUEL_FORMATTER: (number: number) => string

Type declaration

▸ (number): string

Parameters
NameType
numbernumber
Returns

string

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.FUEL_FORMATTER

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:26


ISA_FORMATTER

Static Protected Readonly ISA_FORMATTER: (number: number) => string

Type declaration

▸ (number): string

Parameters
NameType
numbernumber
Returns

string

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.ISA_FORMATTER

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:27


SPEED_FORMATTER

Static Protected Readonly SPEED_FORMATTER: (number: number) => string

Type declaration

▸ (number): string

Parameters
NameType
numbernumber
Returns

string

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.SPEED_FORMATTER

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:28


TEMPERATURE_FORMATTER

Static Protected Readonly TEMPERATURE_FORMATTER: (number: number) => string

Type declaration

▸ (number): string

Parameters
NameType
numbernumber
Returns

string

Inherited from

NextGenDisplayUnitNavDataFieldTypeRenderer.TEMPERATURE_FORMATTER

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:29

Methods

render

render(model): VNode

Renders a navigation data field of this renderer's data field type.

Parameters

NameTypeDescription
modelNavDataFieldModel<NumberUnitInterface<Distance, Unit<Distance>>>The data model to use for the data field.

Returns

VNode

A navigation data field of this renderer's data field type, as a VNode.

Overrides

NextGenDisplayUnitNavDataFieldTypeRenderer.render

Defined in

src/garminsdk/components/navdatafield/NextGenNavDataFieldTypeRenderers.tsx:136