Class: CdiScaleFormatter
Defined in: src/garminsdk/components/nextgenpfd/hsi/CdiScaleFormatter.ts:6
Utility class for creating CDI scaling mode text formatters.
Constructors
Constructor
new CdiScaleFormatter():
CdiScaleFormatter
Returns
CdiScaleFormatter
Methods
create()
staticcreate(useRnp): (mode) =>string
Defined in: src/garminsdk/components/nextgenpfd/hsi/CdiScaleFormatter.ts:57
Creates a function which formats CDI scaling modes to text strings.
Parameters
| Parameter | Type | Description |
|---|---|---|
useRnp | boolean | Whether the formatter should output explicit RNP values for certain scaling modes (e.g. 'RNP2.00' instead of 'ENR'). |
Returns
A function which formats CDI scaling modes to text strings.
(
mode):string
Parameters
| Parameter | Type |
|---|---|
mode | CDIScaleLabel |
Returns
string