TomTom Maps for JavaScript
    Preparing search index...

    Type Alias ChargingStop

    ChargingStop: Place<ChargingStopProps>

    Information about a battery charging stop along an electric vehicle route.

    A GeoJSON Feature representing a charging location where an EV needs to stop and recharge during a long-distance journey (LDEVR - Long Distance EV Routing).

    Structure:

    When Provided:

    • For EV routes where charging is needed to reach the destination
    • At the end of route legs where battery charge is insufficient for the next leg
    • Contains both required and optional charging stop details

    Key Properties:

    • id: Unique string identifier for this feature, corresponds to charging park ID.
    • type: Always 'Feature' (GeoJSON)
    • geometry: Point geometry with charging park coordinates [longitude, latitude]
    • properties: Combined common place properties and charging-specific details
      • Standard place info: type, address, poi, chargingPark
      • Charging details: chargingParkId, chargingParkUuid, chargingConnections
      • Route planning: chargingTimeInSeconds, targetChargeInkWh, targetChargeInPCT
      • Metadata: chargingParkName, chargingParkOperatorName, chargingParkPowerInkW
    const chargingStop: ChargingStop = {
    id: 'charging-stop-1',
    type: 'Feature',
    geometry: {
    type: 'Point',
    coordinates: [4.8945, 52.3667]
    },
    properties: {
    // CommonPlaceProps
    type: 'POI',
    address: {
    freeformAddress: 'Amsterdam Central Station',
    municipality: 'Amsterdam',
    country: 'Netherlands'
    },
    // ChargingStopProps
    chargingParkId: 'park123',
    chargingParkUuid: 'uuid-123-456',
    chargingParkName: 'Amsterdam Central Station - North Side',
    chargingParkOperatorName: 'Ionity',
    chargingConnections: [{
    plugType: 'IEC_62196_Type_2_Connector_Cable_Attached',
    chargingPowerInkW: 150,
    currentType: 'DC'
    }],
    chargingTimeInSeconds: 1200,
    chargingParkPowerInkW: 150,
    chargingStopType: 'Auto_Generated',
    targetChargeInkWh: 75,
    targetChargeInPCT: 75
    }
    };