Skip to main content

Interface: LatLonDisplayProps

Defined in: src/garminsdk/components/common/LatLonDisplay.tsx:23

Component props for LatLonDisplay.

Extends

  • ComponentProps

Properties

blankPrefixWhenNaN?

optional blankPrefixWhenNaN: boolean

Defined in: src/garminsdk/components/common/LatLonDisplay.tsx:34

Whether to format prefix text as an underscore when the coordinate value is equal to NaN. Defaults to false.


children?

optional children: DisplayChildren[]

Defined in: src/sdk/components/FSComponent.ts:122

The children of the display component.

Inherited from

ComponentProps.children


class?

optional class: string | SubscribableSet<string>

Defined in: src/garminsdk/components/common/LatLonDisplay.tsx:37

CSS class(es) to add to the component's root element.


format

format: LatLonDisplayFormat | Subscribable<LatLonDisplayFormat>

Defined in: src/garminsdk/components/common/LatLonDisplay.tsx:28

The format to use to display the coordinates.


ref?

optional ref: NodeReference<any>

Defined in: src/sdk/components/FSComponent.ts:125

A reference to the display component.

Inherited from

ComponentProps.ref


splitPrefix?

optional splitPrefix: boolean

Defined in: src/garminsdk/components/common/LatLonDisplay.tsx:31

Whether to split the prefix into a separate span element within the div.g-latlon-coord. Defaults to false.


value

value: null | LatLonInterface | Subscribable<null | LatLonInterface>

Defined in: src/garminsdk/components/common/LatLonDisplay.tsx:25

The location for which to display coordinates.