TomTom Maps for JavaScript
    Preparing search index...

    Type Alias CombustionSummary

    CombustionSummary: SummaryBase & { fuelConsumptionInLiters?: number }

    Summary information for routes using combustion engine vehicles.

    Extends the base summary with fuel consumption estimates.

    Type Declaration

    • OptionalfuelConsumptionInLiters?: number

      Estimated fuel consumption in liters for the route or leg.

      Calculated using the Combustion Consumption Model based on:

      • Vehicle speed-to-consumption rates
      • Route characteristics (elevation, road types)
      • Driving conditions

      Included only if:

      • Vehicle engine type is set to combustion
      • Speed-to-consumption rates are specified in the request

      The value is always positive (no fuel recuperation).

      // A 100km route might consume
      fuelConsumptionInLiters: 7.5 // 7.5 liters