I have included a simplified version of the code I use to calculate the distance from the driver's last known location to his next stop.
MapPoint.Location locA =
mpMap.GetLocation( pointA.Latitude, pointA.Longitude, 100 );
mpRoute.Waypoints.Add( locA, "locA" );
MapPoint.Location locB =
mpMap.GetLocation( pointB.Latitude, pointB.Longitude, 100 );
mpRoute.Waypoints.Add( locB, "locB" );
But I need a way to introduce the driver's last known HEADING, otherwise using simply his last known LOCATION will produce an unrealistic route. If he's driving east, then there's no point in using MapPoint's best estimate,
which may require that he head west. I have no ability to re-direct the driver; I'm simply using MapPoint to help create an educated guess when the driver will arrive.
Does anyone know how to use his heading to get MapPoint to make a more realistic route between the two points?