Hi everyone, I was trying to calculate the tollways for driving-hgv but had some trouble.
Tollway seems to work really well in the directions api for driving-car if you stay in a single country without border crossings. It also works well for driving-car if you cross borders and have tollways in different countries. You just have to look for the border crossing in the countryinfo.
As long as I stay in a single country, it also works for driving-hgv.
However, I have a problem for trucks when I have a border crossing as the tollway values do not align with the border crossing. E.g. the country Info tells me that from waypoints 0-2490 I am in country 11, and from 2490-3670 I am in country 74. However the tollway =0 from waypoint 2384-3385, so there was a border crossing but i dont know how that relates to the tollway. In driving-car there is a waypoint for tollway that aligns with the countryinfo for the border.
In the end i get the total distance with tollway.
However there is no way for me to calculate what distance I drove with tollway in country 74 and which one in country 11.