weightPerAxleGroup property
getter/setter pair
Allows specification of axle weights in a more fine-grained way than VehicleSpecification.weightPerAxleInKilograms. This is relevant in countries with signs and regulations that specify different limits for different axle groups, like the USA and Sweden. By default is not set.
Notes:
- VehicleSpecification.weightPerAxleInKilograms and VehicleSpecification.weightPerAxleGroup are incompatible.
When available for your edition, if both attributes are set, during online
RoutingEngineanRoutingError.INVALID_PARAMETERerror is generated. Otherwise, when offlineRoutingEngineis in place, both parameters are evaluated and the maximum value between them will be used. - Supported in TransportMode.truck, TransportMode.bus, TransportMode.privateBus, TransportMode.car (Beta), TransportMode.taxi (Beta) transport modes.
Implementation
WeightPerAxleGroup? weightPerAxleGroup;