Interface: MapSystemTrafficLayerProps
Component props for MapSystemTrafficLayer.
Hierarchy
MapLayerProps
<MapSystemTrafficLayerModules
>↳
MapSystemTrafficLayerProps
Properties
children
• Optional
children: DisplayChildren
[]
The children of the display component.
Inherited from
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
Defined in
src/sdk/components/map/MapLayer.ts:25
context
• context: MapSystemContext
<any
, any
, any
, any
>
The context of the layer's parent map.
Defined in
src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:63
iconFactory
• iconFactory: MapTrafficIntruderIconFactory
<any
, any
, any
, any
>
A function which creates icons for intruders.
Defined in
src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:66
initCanvasStyles
• Optional
initCanvasStyles: (context
: CanvasRenderingContext2D
) => void
A function which initializes global canvas styles for the layer.
Param
The canvas rendering context for which to initialize styles.
Type declaration
▸ (context
): void
A function which initializes global canvas styles for the layer.
Parameters
Name | Type | Description |
---|---|---|
context | CanvasRenderingContext2D | The canvas rendering context for which to initialize styles. |
Returns
void
Defined in
src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:72
mapProjection
• mapProjection: MapProjection
A map projection model.
Inherited from
Defined in
src/sdk/components/map/MapLayer.ts:15
model
• model: MapModel
<MapSystemTrafficLayerModules
>
A map model.
Inherited from
Defined in
src/sdk/components/map/MapLayer.ts:12
offScaleIntruders
• Optional
offScaleIntruders: MutableSubscribableSet
<TcasIntruder
>
A subscribable set to update with off-scale intruders.
Defined in
src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:75
oobIntruders
• Optional
oobIntruders: MutableSubscribableSet
<TcasIntruder
>
A subscribable set to update with intruders that are not off-scale but whose projected positions are considered out-of-bounds.
Defined in
src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:81
oobOffset
• Optional
oobOffset: Subscribable
<Readonly
<Omit
<Float64Array
, "set"
| "sort"
| "copyWithin"
>>>
A subscribable which provides the offset of the intruder out-of-bounds boundaries relative to the boundaries of
the map's projected window, as [left, top, right, bottom]
in pixels. Positive offsets are directed toward the
center of the map. Defaults to [0, 0, 0, 0]
.
Defined in
src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:88
ref
• Optional
ref: NodeReference
<any
>
A reference to the display component.
Inherited from
Defined in
src/sdk/components/FSComponent.ts:125
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
Defined in
src/sdk/components/map/MapLayer.ts:22