axleCount property - VehicleSpecification class - transport library - Dart API
axleCount
axleCount property
getter/setter pair
Defines total number of axles in the vehicle. The provided value must be greater than or equal to 2. By default, it is not set. Route calculation: When not set, possible axle count restrictions will not be taken into consideration. Rendering: When set, truck restriction icons for an axle count greater than VehicleSpecification.axleCount will not be displayed. When specifying VehicleSpecification.trailerAxleCount, then VehicleSpecification.axleCount is required and must be greater than VehicleSpecification.trailerAxleCount.
Note: Supported in TransportMode.truck, TransportMode.bus, TransportMode.privateBus, TransportMode.car (Beta), TransportMode.taxi (Beta) transport modes.
Implementation
int? axleCount;