Identify aircraft types based on their mission.

It would probably be more accurate to have the icon based on the
aircraft type and use the modifier to indicate the mission, but this
will do for now (I also might have that backwards, I can't find the
guidance because it's in STANAG 1241 which isn't free).

I also increased the icon size a bit in the UI because the longest icon
text ("SEAD") was hard to read.
This commit is contained in:
Dan Albert
2022-03-07 21:45:33 -08:00
parent 73a8ec02b2
commit e36c62b30e
4 changed files with 46 additions and 3 deletions

View File

@@ -5,7 +5,7 @@ import { Marker } from "react-leaflet";
function iconForFlight(flight: Flight) {
const symbol = new Symbol(flight.sidc, {
size: 16,
size: 20,
});
return new Icon({