TomTom Maps for JavaScript
    Preparing search index...

    Type Alias GenericVehicleParams

    Generic vehicle parameters without specific engine type.

    Use for vehicles where engine type doesn't matter for routing, or when you want to specify only basic restrictions.

    const params: GenericVehicleParams = {
    model: {
    dimensions: {
    heightMeters: 2.5,
    weightKG: 3500
    }
    }
    };
    type GenericVehicleParams = {
        model?: VehicleModel;
        preferences?: VehiclePreferences;
        state?: VehicleState;
    }
    Index

    Properties

    model?: VehicleModel

    Model (static properties) of the vehicle with generic/unspecified engine type.

    Includes dimensions and other characteristics that don't change during travel.

    preferences?: VehiclePreferences

    Generic vehicle preferences for unspecified engine type.

    Currently no generic preferences exist; this is for future extensibility.

    state?: VehicleState

    State of the vehicle with generic/unspecified engine type.

    Includes current heading and other properties that vary during travel.