foo = ({
currentTime: mutable mutableCurrentTime,
flights: flightData.flights,
maxDistance: flightDistance,
types: flightData.types,
count: flightData.count,
size: Math.min((1 / width) * 6500, 6.5),
showTypes: new Uint8Array(4).fill(0).map((_, i) => {
const { value } = routeTypes.find(({ value }) => value === i) || {};
if (typeof value === "number") {
return Number(selectedRouteTypes.indexOf(value.toString()) >= 0);
}
return 0;
}),
altitude: 0.0,
timeToTaxi,
blurPoint,
projectionTransition
})