I am trying to create a program somewhere simlar to little nav map so far my sucess has been quite good. I am developing the application in winforms c# .net 4.7
1. I am using open street maps.org provider with GMAP.net
2. I have my plane positioned in the direction of the true heading.
Questions I have now is
1. How would one draw runway numbers and data on top of the gmap.net judero01col/GMap.NET: GMap.NET )
I beleive what I need to do is extract the information from the blg file and then paint that onto the gmap controll
2. How does one set the heading for the autopilot
I have the following but I dont understand what is GROUP.ID_PRIORITY_STANDARD when i try to resolve it it wont this should work for the altitude but how do i setup the heading.
1. I am using open street maps.org provider with GMAP.net
2. I have my plane positioned in the direction of the true heading.
Questions I have now is
1. How would one draw runway numbers and data on top of the gmap.net judero01col/GMap.NET: GMap.NET )
I beleive what I need to do is extract the information from the blg file and then paint that onto the gmap controll
2. How does one set the heading for the autopilot
I have the following but I dont understand what is GROUP.ID_PRIORITY_STANDARD when i try to resolve it it wont this should work for the altitude but how do i setup the heading.
C#:
private void btnSetAutoPilotAlt_Click(object sender, EventArgs e)
{
// changed to add an event for the altitude
// changed to set the autopilot hold altitude to 5000 feet
my_simconnect.MapClientEventToSimEvent(EVENTS.KEY_REF_ALT_FEET, "AP_ALT_VAR_SET_ENGLISH");
my_simconnect.TransmitClientEvent(SimConnect.SIMCONNECT_OBJECT_ID_USER, EVENTS.KEY_REF_ALT_FEET, txtAutoPilotAlt.Text, GROUP.ID_PRIORITY_STANDARD, SIMCONNECT_EVENT_FLAG.GROUPID_IS_PRIORITY);
}
}
Last edited:
