valhalla-browser API
    Preparing search index...

    Interface TruckCostingOptions

    Truck attributes used with restrictions recorded in the graph. Omitted values use native defaults.

    interface TruckCostingOptions {
        axle_load?: number;
        hazmat?: boolean;
        height?: number;
        length?: number;
        weight?: number;
        width?: number;
    }
    Index
    axle_load?: number

    Axle load in metric tonnes, 0–40; default 9.07.

    hazmat?: boolean

    Whether hazardous goods are carried; default false.

    height?: number

    Height in meters, 0–10; default 4.11.

    length?: number

    Length in meters, 0–50; default 21.64.

    weight?: number

    Total vehicle weight in metric tonnes, 0–100; default 21.77.

    width?: number

    Width in meters, 0–10; default 2.6.