Is there a way to query via Javascript to get comprehensive airport info via
ICAO the same as
https://docs.flightsimulator.com/html/Programming_Tools/SimConnect/API_Reference/Facilities/SimConnect_AddToFacilityDefinition.htm#airport
?
All that nice info from each of the child members as well (like runways data,
taxi parking data etc).
I 've tried a couple of approaches but not having much luck.
It’s kind of an obvious SDK API feature I would have thought, or am I
completely missing something?
Thanks!
You can find a bit of information here for working with facility data in the
avionics framework <https://microsoft.github.io/msfs-avionics-
mirror/docs/interacting-with-msfs/querying-navdata>.
Thanks. That was on my radar but hadn’t looked closely enough. I guess this
might be possible to use with plain old Javascript, with some massaging a la
Browsify or similar? I’m limited to old skool JS methods due to the nature of
it, so any NPM packages like MSFS AF or <https://github.com/EvenAR/node-
simconnect> need to be accessed by trad client side js methods.