Skip to main content

Interface: MapAltitudeArcLayerProps

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:43

Component props for MapAltitudeArcLayer.

Extends​

Properties​

altitudeDeviationThreshold​

altitudeDeviationThreshold: NumberUnitInterface<Distance, Unit<Distance>> | Subscribable<NumberUnitInterface<Distance, Unit<Distance>>>

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:58

The minimum magnitude of the airplane's vertical deviation from the selected altitude required to display the arc.


arcAngularWidth?​

optional arcAngularWidth: number

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:61

The angular width of the arc, in degrees. Defaults to 60 degrees.


arcRadius?​

optional arcRadius: number

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:64

The radius of the arc, in pixels. Defaults to 64 pixels.


children?​

optional children: DisplayChildren[]

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

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<MapAltitudeArcLayerModules>

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

A map model.

Inherited from​

MapLayerProps.model


outlineLineCap?​

optional outlineLineCap: "round" | "butt" | "square"

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:82

The line cap of the arc outline. Defaults to 'butt'.


outlineStyle?​

optional outlineStyle: string

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:79

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


outlineWidth?​

optional outlineWidth: number

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:76

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


ref?​

optional ref: NodeReference<any>

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

A reference to the display component.

Inherited from​

MapLayerProps.ref


renderMethod​

renderMethod: "canvas" | "svg"

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:49

The method with which to render the arc: canvas or SVG. The SVG rendering method can use significantly less texture memory than canvas depending on the size of the arc relative to the parent map. However, arcs rendered using SVG may not be properly occluded by clip-path or border-radius styles set on the parent map.


strokeLineCap?​

optional strokeLineCap: "round" | "butt" | "square"

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:73

The line cap of the arc stroke. Defaults to 'butt'.


strokeStyle?​

optional strokeStyle: string

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:70

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


strokeWidth?​

optional strokeWidth: number

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:67

The width of the arc 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


verticalSpeedPrecision​

verticalSpeedPrecision: NumberUnitInterface<Speed, Unit<Speed>> | Subscribable<NumberUnitInterface<Speed, Unit<Speed>>>

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:52

The precision to apply to the airplane's vertical speed when calculating the position of the arc.


verticalSpeedThreshold​

verticalSpeedThreshold: NumberUnitInterface<Speed, Unit<Speed>> | Subscribable<NumberUnitInterface<Speed, Unit<Speed>>>

Defined in: src/sdk/components/map/layers/MapAltitudeArcLayer.tsx:55

The minimum magnitude of the airplane's vertical speed required to display the arc.