Skip to main content

Interface: WaypointIconProps

Component props for WaypointIcon.

Hierarchy

Properties

atlasIconSize

atlasIconSize: number

The size of each square icon in the texture atlas.

Defined in

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


children

Optional children: DisplayChildren[]

The children of the display component.

Inherited from

WaypointComponentProps.children

Defined in

src/sdk/components/FSComponent.ts:122


class

Optional class: string | ToggleableClassNameRecord | SubscribableSet<string>

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

Defined in

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


imageCache

imageCache: WaypointIconImageCache

The image waypoint icon image cache to use.

Defined in

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


planeHeading

Optional planeHeading: Subscribable<number>

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.

Defined in

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


ref

Optional ref: NodeReference<any>

A reference to the display component.

Inherited from

WaypointComponentProps.ref

Defined in

src/sdk/components/FSComponent.ts:125


waypoint

waypoint: Subscribable<null | Waypoint>

A subscribable which provides a waypoint to bind.

Inherited from

WaypointComponentProps.waypoint

Defined in

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