I'm trying to find the bearing between two points. Even though we have a property as CurrentBearing in stop-class, it shows NaN if you create the object Stop using any MapPoint. For example
var PointA = new MapPoint(-117.85, 32.20, SpatialReferences.Wgs84);
var StopA= new Stop(PointA);
So if we use StopA.CurrentBearing it will show as NaN.
I just want to find a Bearing value. is there any way I can find the value in .net SDK or do I have to calculate it manually?