Skip to main content

Interface: WaypointIconProps

Defined in: src/garminsdk/components/waypoint/WaypointIcon.tsx:11

Component props for WaypointIcon.

Extends

Properties

atlasIconSize

atlasIconSize: number

Defined in: src/garminsdk/components/waypoint/WaypointIcon.tsx:20

The size of each square icon in the texture atlas.


children?

optional children: DisplayChildren[]

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

The children of the display component.

Inherited from

WaypointComponentProps.children


class?

optional class: string | ToggleableClassNameRecord | SubscribableSet<string>

Defined in: src/garminsdk/components/waypoint/WaypointIcon.tsx:26

CSS class(es) to add to the root of the icon component.


imageCache

imageCache: WaypointIconImageCache

Defined in: src/garminsdk/components/waypoint/WaypointIcon.tsx:23

The image waypoint icon image cache to use.


planeHeading?

optional planeHeading: Subscribable<number>

Defined in: src/garminsdk/components/waypoint/WaypointIcon.tsx:17

A subscribable which provides the airplane's current true heading. When provided, airport icons will be rotate depending on the difference between the plane's heading and the airport's longest runway. If not provided, airport icons will show the heading of the longest runway.


ref?

optional ref: NodeReference<any>

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

A reference to the display component.

Inherited from

WaypointComponentProps.ref


waypoint

waypoint: Subscribable<null | Waypoint>

Defined in: src/garminsdk/components/waypoint/WaypointComponent.tsx:8

A subscribable which provides a waypoint to bind.

Inherited from

WaypointComponentProps.waypoint