There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
this generates a result that is unexpected and does not agree with the original authors formula: var dLon = VEToolkit.Math.DiffRadian(latlng2.Longitude, latlng1.Longitude);
this generates a result that is expected and agrees with the original authors formula: var dLon = VEToolkit.Math.ToRadian(latlng2.Longitude - latlng1.Longitude);
Start point: 26.67,39.150
End point: 49.01,2.55
Result: 37.65 (this is a north easterly bearing which is incorrect)
Result with modification: 318.249 (correct north westerly bearing)
This is with source code 5171. I did not study the conversion functions and a mathmetician I am most definitely not.
Thanks for the toolkit. Its been most helpful!