We are a truck logistics company and we want to calculate the distance between source and destination on which the truck traveled.
As of now, we are using Google Maps API to calculate the distance. The problem we have with Google Maps API is, we can't calculate the distance on the route the truck has traveled. We have the location coordinates(collected every minute) on which the truck traveled but we can't pass these coordinates to Google Maps API to get the distance for the traveled route.
Is there any API in ArcGIS/ESRI to calculate the distance between source and destination via given coordinates(or way-points)?