Distance and duration calculation
The distance and duration between points are calculated from the stops and sightseeing points in the tour form, and the legs are added up to find the tour's total kilometres. Outbound and return directions are tracked separately.
The calculated kilometres are passed to the fuel calculation in the cost tab. This way, instead of working out the fuel cost per vehicle by hand, you quickly see the cost for the whole tour.