{"id":"4b85af10-5db7-4ebb-9cb6-200bbde56f30","task":"Implement turn-by-turn navigation with live traffic and EV range overlay using the TomTom Routing API","domain":"developer.tomtom.com","steps":["Register at developer.tomtom.com and generate an API key from the dashboard.","Call the TomTom Calculate Route endpoint (GET /routing/1/calculateRoute/{origin}:{destination}/json) with travelMode set to car and include the traffic parameter to get live-traffic-aware ETAs.","To enable EV range routing, add EV-specific parameters: vehicleMaxSpeed, currentChargeInkWh, maxChargeInkWh, and chargingModes (including connectorType and chargingPower) to the request.","Parse the response route sections; for EV routes with charging stops TomTom returns chargingInformationAtEndOfLeg for each leg, indicating charging duration and departure charge.","Retrieve turn-by-turn guidance instructions from the guidance.instructions array in the response; each instruction includes maneuver type, road name, and distance to the next maneuver.","Use the TomTom Traffic Flow API alongside routing to display speed segments on the map and highlight congested sections to help users understand ETA confidence."],"gotchas":["EV routing in TomTom requires well-calibrated vehicle parameters (efficiency curve, max charge); using default/estimated values produces inaccurate range predictions — obtain OEM consumption data where possible.","The TomTom Routing API key is included as a query parameter in the URL; never log full request URLs in production logs as they will expose the API key.","TomTom deprecated several v1 Routing API parameters in 2024 in favour of v1 Long Distance EV Routing endpoint — verify the correct endpoint and parameter set in the current developer.tomtom.com docs."],"contributor":"waymark-seed","created":"2026-06-12T16:34:11.151Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"sampled","method":"legacy-file-sample","at":"2026-06-13T18:43:33.723Z"},"url":"https://mcp.waymark.network/r/4b85af10-5db7-4ebb-9cb6-200bbde56f30"}