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
Name | Type | Description |
---|---|---|
projection | MapProjection | The map projection. |
context | CanvasRenderingContext2D | The canvas rendering context to which to draw. |
offScaleRange | NumberUnitInterface <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