Skip to main content

Interface: GarminChartAirplaneIconLayerProps

Defined in: src/garminsdk/components/charts/GarminChartAirplaneIconLayer.tsx:30

Component props for GarminChartAirplaneIconLayer.

Properties

iconAnchor

iconAnchor: Readonly<Omit<Float64Array<ArrayBufferLike>, "set" | "sort" | "copyWithin">> | Accessible<Readonly<Omit<Float64Array<ArrayBufferLike>, "set" | "sort" | "copyWithin">>>

Defined in: src/garminsdk/components/charts/GarminChartAirplaneIconLayer.tsx:45

The anchor point of the airplane icon, as [x, y] in relative units, where [0, 0] is the top-left corner of the icon, and [1, 1] is the bottom-right corner. The anchor point is always positioned at the projected coordinates of the airplane.


imgSrc

imgSrc: string | Subscribable<string>

Defined in: src/garminsdk/components/charts/GarminChartAirplaneIconLayer.tsx:38

The absolute path to the airplane icon's image asset.


planeHeading

planeHeading: Accessible<number>

Defined in: src/garminsdk/components/charts/GarminChartAirplaneIconLayer.tsx:35

The airplane's true heading, in degrees.


planePosition

planePosition: Accessible<Readonly<LatLonInterface>>

Defined in: src/garminsdk/components/charts/GarminChartAirplaneIconLayer.tsx:32

The airplane's position.


status?

optional status: MutableSubscribable<any, number>

Defined in: src/garminsdk/components/charts/GarminChartAirplaneIconLayer.tsx:48

A mutable subscribable to which to write the airplane icon's status.