Skip to main content

Interface: MapTrafficIntruderIcon

A map icon for a TCAS intruder.

Implemented by

Properties

intruder

Readonly intruder: TcasIntruder

This icon's associated intruder.

Defined in

src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:28


isOffScale

Readonly isOffScale: boolean

Whether this icon's intruder is off-scale at the time it was last drawn.

Defined in

src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:34


projectedPos

Readonly projectedPos: Readonly<Omit<Float64Array, "set" | "sort" | "copyWithin">>

The projected position of this icon's intruder, in pixel coordinates, at the time it was last drawn.

Defined in

src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:31

Methods

draw

draw(projection, context, offScaleRange): void

Draws this icon.

Parameters

NameTypeDescription
projectionMapProjectionThe map projection.
contextCanvasRenderingContext2DThe canvas rendering context to which to draw.
offScaleRangeNumberUnitInterface<Distance, Unit<Distance>>The distance from the own airplane to this icon's intruder beyond which the intruder is considered off-scale. If the value is NaN, the intruder is never considered off-scale.

Returns

void

Defined in

src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:43