There are two presets in this code sample:
- Maximum speeds: With the speed limited to 75 a rather direct route is calculated. Without a speed limit, the route on the highway is preferred even though it means a big detour.
- Speed factor: The parameter is used to make the vehicle slower which leads to the necessity of a daily rest.
See also the concept on speeds.