Skip to main content

Interface: MapTrackVectorLayerProps

Defined in: src/garminsdk/components/map/layers/MapTrackVectorLayer.tsx:26

Component props for MapTrackVectorLayer.

Extends

Properties

arcMaxLookaheadTime

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

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

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


arcTurnRateThreshold

arcTurnRateThreshold: number | Subscribable<number>

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

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


children?

optional children: DisplayChildren[]

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

The children of the display component.

Inherited from

MapLayerProps.children


class?

optional class: string | SubscribableSet<string>

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

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

Inherited from

MapLayerProps.class


mapProjection

mapProjection: MapProjection

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

A map projection model.

Inherited from

MapLayerProps.mapProjection


model

model: MapModel<MapTrackVectorLayerModules>

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

A map model.

Inherited from

MapLayerProps.model


outlineStyle?

optional outlineStyle: string

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

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


outlineWidth?

optional outlineWidth: number

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

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


ref?

optional ref: NodeReference<any>

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

A reference to the display component.

Inherited from

MapLayerProps.ref


strokeStyle?

optional strokeStyle: string

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

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


strokeWidth?

optional strokeWidth: number

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

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


updateFreq?

optional updateFreq: Subscribable<number>

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

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