I'm making a HereMap Calculate Route API request. Waypoint 0 has no stopOver time, but waypoints 1 and 2 do. Example request:
https://route.ls.hereapi.com/routing/7.2/calculateroute.json?xnlp=CL_JSMv3.1.18.1&apikey=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx&mode=fastest;truck;traffic:enabled&truckType=truck&representation=display&routeattributes=summary,shape,legs&legAttributes=travelTime,trafficTime&height=14&limitedWeight=7.25&trailersCount=0&alternatives=0&waypoint0=geo!41.978130,-88.232100&departure=2020-08-17T06%3A00%3A00%2B5&waypoint1=geo!stopOver,2880!41.91621,-87.99025;;03558029&waypoint2=geo!stopOver,3120!41.91621,-87.99025;;03559825&waypoint3=geo!stopOver,840!41.721474,-87.679846;;03561582&waypoint4=geo!stopOver,780!41.719577,-87.793070;;03561720&waypoint5=geo!stopOver,1800!41.690945,-87.741590;;03561712&waypoint6=geo!stopOver,1320!41.691,-87.74274;;03561312&waypoint7=geo!stopOver,780!41.839228,-88.000000;;03561705&waypoint8=geo!stopOver,2400!41.7542,-87.74161;;03561534&waypoint9=geo!stopOver,1920!41.726269,-87.799493;;03561541&waypoint10=geo!stopOver,1680!41.727112,-87.801140;;03561542&waypoint11=geo!stopOver,1440!41.719642,-87.768530;;03561707&waypoint12=geo!41.978130,-88.232100
So waypoint1 has a stopOver of 48 minutes. When I get the response from the Calculate Route call, leg0 of the route is including the travel time, plus the stop over time for waypoint1.
{travelTime: 6184, maneuver: Array(13), trafficTime: 6184}
6184 seconds is 55 minutes of travel time plus the 48 minutes of stop over time. I would not expect to have stop over time included in the first leg. The truck is not stopping until waypoint1. So I would expect travel time between waypoint0 and waypoint1 to not include any stop over time. The API documents don't say much about stopOver. How does stopOver work? In my example, why is stopOver time included in the first leg?