This is the documentation of version 0.51.3. Go to the latest version, 1.0.0.
TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ChargingPreferencesKWH

    Charging preferences specified by absolute energy in kilowatt-hours.

    Use when you prefer to specify energy buffers in kWh rather than percentages.

    const prefs: ChargingPreferencesKWH = {
    minChargeAtDestinationInkWh: 15,
    minChargeAtChargingStopsInkWh: 10
    };
    type ChargingPreferencesKWH = {
        minChargeAtChargingStopsInkWh: number;
        minChargeAtDestinationInkWh: number;
    }
    Index
    minChargeAtChargingStopsInkWh: number

    The minimum battery kWh you wish to arrive at each charging station with.

    However, the remaining charge at the first charging stop may be lower.

    Typical Values:

    • Conservative: 15-20 kWh
    • Moderate: 10-15 kWh
    • Minimal: 5-10 kWh

    Minimum: 0, Maximum: half of maxChargeKWH

    minChargeAtChargingStopsInkWh: 10  // 10 kWh at each stop
    minChargeAtChargingStopsInkWh: 15 // Conservative buffer
    minChargeAtDestinationInkWh: number

    The minimum battery kWh you wish to arrive at your destination with.

    Typical Values (based on battery size):

    • Small EV (40 kWh): 5-10 kWh buffer
    • Medium EV (75 kWh): 10-15 kWh buffer
    • Large EV (100 kWh): 15-20 kWh buffer

    Minimum: 0, Maximum: maxChargeKWH

    minChargeAtDestinationInkWh: 15  // 15 kWh remaining
    minChargeAtDestinationInkWh: 10 // 10 kWh buffer