Builds a GeoJSON LineString from a parsed flight plan route, ready to
render as a polyline on a map (e.g. MapLibre, Leaflet).
Coordinates follow the GeoJSON [lon, lat] ordering. Returns undefined
when the route yields fewer than two drawable points, since a LineString
requires at least two positions to be valid.
Builds a GeoJSON
LineStringfrom a parsed flight plan route, ready to render as a polyline on a map (e.g. MapLibre, Leaflet).Coordinates follow the GeoJSON
[lon, lat]ordering. Returnsundefinedwhen the route yields fewer than two drawable points, since aLineStringrequires at least two positions to be valid.