Building an app (c#) to fetch waypoint info of the current mission I'm in. The goal is to host a site at localhostort with a latitude js map on which I can draw all the points, and the plane position (similar to EFB), so I can monitor my overall flight progress without having the EFB open or at that specific view.
If I use SimConnect_RequestFacilitesList with SIMCONNECT_FACILITY_LIST_TYPE_WAYPOINT, I only get a few waypoints (cached I suppose?), which are not actually the ones from the flight plan. Is there another way of doing it?
As a temporary workaround I'm using the custom mission flight plan and flt files generated when the mission starts, parse the waypoint names and try to fetch their coordinates using skyvector.com API. This works ok mostly, but some waypoint names are used only by MSFS so obviously those wont return anything, so I have to connect the previous with the next etc.
If I use SimConnect_RequestFacilitesList with SIMCONNECT_FACILITY_LIST_TYPE_WAYPOINT, I only get a few waypoints (cached I suppose?), which are not actually the ones from the flight plan. Is there another way of doing it?
As a temporary workaround I'm using the custom mission flight plan and flt files generated when the mission starts, parse the waypoint names and try to fetch their coordinates using skyvector.com API. This works ok mostly, but some waypoint names are used only by MSFS so obviously those wont return anything, so I have to connect the previous with the next etc.