103 |
{object.name}
104 |
{object.pilot}
105 | {(object.type?.includes("Air") ?? false) && (
106 | <>
107 |
108 | Heading:{" "}
109 | {heading != null &&
110 | `${Math.round(heading)
111 | .toString()
112 | .padStart(3, "0")}${getCardinal(heading)}`}
113 |
114 |
115 | Altitude:{" "}
116 | {object.coords?.altitude !== undefined &&
117 | Math.round(meterToFeet(object.coords.altitude))}
118 |
119 |
120 | GS:{" "}
121 | {object.estimatedSpeed >= 0 &&
122 | Math.round(object.estimatedSpeed)}
123 |
124 | >
125 | )}
126 | {objectTypes.length > 0 && (
127 |
128 | Type:{" "}
129 | {objectTypes.map((ty) => {
130 | const tagStr = tagToString(ty);
131 | return (
132 |
133 | {tagStr}
134 |
135 | );
136 | })}
137 |
138 | )}
139 |
140 | {objectSettings !== undefined && (
141 | <>
142 |