preferredTruckNetworks property

List<TruckNetwork> preferredTruckNetworks
getter/setter pair

Specifies which road networks the truck is allowed to use. This option only takes effect when TransportSpecification.transportMode is set to TransportMode.networkRestrictedTruck.

Note: Routes in Network-restricted-truck mode will differ from regular truck routes as they will prioritize the preferred or approved networks and avoid roads that are not part of those networks.

Note: This is a beta release of this feature and may contain bugs or exhibit unexpected behaviour. Related APIs are subject to change without a deprecation process.

Implementation

List<TruckNetwork> preferredTruckNetworks;