Skip to main content

Interface: MapTrackVectorLayerProps

Component props for MapTrackVectorLayer.

Hierarchy

Properties

arcMaxLookaheadTime

arcMaxLookaheadTime: NumberUnitInterface<Duration, Unit<Duration>> | Subscribable<NumberUnitInterface<Duration, Unit<Duration>>>

The maximum lookahead time for which the track vector can be drawn as an arc.

Defined in

src/garminsdk/components/map/layers/MapTrackVectorLayer.tsx:31


arcTurnRateThreshold

arcTurnRateThreshold: number | Subscribable<number>

The minimum turn rate of the player airplane, in degrees per second, required to draw the track vector as an arc.

Defined in

src/garminsdk/components/map/layers/MapTrackVectorLayer.tsx:28


children

Optional children: DisplayChildren[]

The children of the display component.

Inherited from

MapLayerProps.children

Defined in

src/sdk/components/FSComponent.ts:122


class

Optional class: string | SubscribableSet<string>

The CSS class(es) to apply to the root of this layer.

Inherited from

MapLayerProps.class

Defined in

src/sdk/components/map/MapLayer.ts:25


mapProjection

mapProjection: MapProjection

A map projection model.

Inherited from

MapLayerProps.mapProjection

Defined in

src/sdk/components/map/MapLayer.ts:15


model

model: MapModel<MapTrackVectorLayerModules>

A map model.

Inherited from

MapLayerProps.model

Defined in

src/sdk/components/map/MapLayer.ts:12


outlineStyle

Optional outlineStyle: string

The style of the vector outline. Defaults to '#505050'.

Defined in

src/garminsdk/components/map/layers/MapTrackVectorLayer.tsx:43


outlineWidth

Optional outlineWidth: number

The width of the vector outline, in pixels. Defaults to 1 pixel.

Defined in

src/garminsdk/components/map/layers/MapTrackVectorLayer.tsx:40


ref

Optional ref: NodeReference<any>

A reference to the display component.

Inherited from

MapLayerProps.ref

Defined in

src/sdk/components/FSComponent.ts:125


strokeStyle

Optional strokeStyle: string

The style of the vector stroke. Defaults to 'cyan'.

Defined in

src/garminsdk/components/map/layers/MapTrackVectorLayer.tsx:37


strokeWidth

Optional strokeWidth: number

The width of the vector stroke, in pixels. Defaults to 2 pixels.

Defined in

src/garminsdk/components/map/layers/MapTrackVectorLayer.tsx:34


updateFreq

Optional updateFreq: Subscribable<number>

A subscribable which provides the maximum update frequency of the layer, in hertz. Note that the actual update frequency will not exceed the update frequency of the layer's parent map. If not defined, the frequency will default to that of the layer's parent map.

Inherited from

MapLayerProps.updateFreq

Defined in

src/sdk/components/map/MapLayer.ts:22