diff --git a/Source/Internal/TruckDistanceMatrixGenerator.cs b/Source/Internal/TruckDistanceMatrixGenerator.cs index 1669a54..c1a3300 100644 --- a/Source/Internal/TruckDistanceMatrixGenerator.cs +++ b/Source/Internal/TruckDistanceMatrixGenerator.cs @@ -110,7 +110,7 @@ namespace BingMapsRESTToolkit.Extensions DestinationIndex = 0, HasError = false, TravelDistance = truckRoute.TravelDistance, - TravelDuration = (request.TimeUnits == TimeUnitType.Minute) ? truckRoute.TravelDuration * 60 : truckRoute.TravelDuration + TravelDuration = (request.TimeUnits == TimeUnitType.Minute) ? truckRoute.TravelDuration / 60 : truckRoute.TravelDuration }); var cellTasks = new List();