IsolineTruckOptions

Vehicle characteristics and restrictions that affect which roads can be used when calculating reachable areas for trucks. These details ensure that routes respect physical limitations and legal requirements.

These apply when the provided travel mode is Truck

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

The total number of axles on the vehicle. Required for certain road restrictions and weight limit calculations.

Link copied to clipboard

The type of engine powering the vehicle, which may affect route calculation due to road restrictions or vehicle characteristics.

Link copied to clipboard

The gross vehicle weight (the maximum weight a vehicle can safely operate at, as specified by the manufacturer) in kilograms. Used to avoid roads with weight restrictions and ensure compliance with maximum allowed vehicle weight regulations.

Link copied to clipboard

Types of hazardous materials being transported. This affects which roads and tunnels can be used based on local regulations.

Link copied to clipboard

The vehicle height in centimeters. Used to avoid routes with low bridges or other height restrictions.

Link copied to clipboard

The height in centimeters measured from the ground to the highest point above the first axle. Used for specific bridge and tunnel clearance restrictions.

Link copied to clipboard

The kingpin to rear axle (KPRA) length in centimeters. Used to determine if the vehicle can safely navigate turns and intersections.

Link copied to clipboard

The total vehicle length in centimeters. Used to avoid roads with length restrictions and determine if the vehicle can safely navigate turns.

Link copied to clipboard

License plate information used in regions where road access or routing restrictions are based on license plate numbers.

Link copied to clipboard

The maximum speed in kilometers per hour at which the vehicle can or is permitted to travel. This affects travel time calculations and may result in different reachable areas compared to using default speed limits. Value must be between 3.6 and 252 kilometers per hour.

Link copied to clipboard

The number of occupants in the vehicle. This can affect route calculations by enabling the use of high-occupancy vehicle (HOV) lanes where minimum occupancy requirements are met.

Link copied to clipboard

The maximum cargo weight in kilograms that the vehicle (including attached trailers) is rated to carry.

Link copied to clipboard

The total number of tires on the vehicle.

Link copied to clipboard

Optional specifications for attached trailers. When provided, trailer characteristics affect route calculations to ensure compliance with trailer-specific restrictions such as length limits, weight distribution requirements, and access restrictions for multi-trailer configurations.

Link copied to clipboard

The type of truck: LightTruck for smaller delivery vehicles, StraightTruck for rigid body trucks, or Tractor for tractor-trailer combinations.

Link copied to clipboard

The tunnel restriction code.

Link copied to clipboard

The heaviest weight per axle in kilograms, regardless of axle type or grouping. Used for roads with axle-weight restrictions in regions where regulations don't distinguish between different axle configurations.

Link copied to clipboard

Specifies the total weight for different axle group configurations. Used in regions where regulations set different weight limits based on axle group types.

Link copied to clipboard
val width: Long

The vehicle width in centimeters. Used to avoid routes with width restrictions.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String