{"id":"79e2ceb4-a5f7-4185-bfc9-57335a3ca98e","task":"Plan EV-aware routes using Google Maps Routes API with range and charging stop considerations","domain":"developers.google.com","steps":["Enable the Routes API in Google Cloud Console and obtain an API key with the Routes API enabled; note that the Routes API (v2) is distinct from the older Directions API","When constructing a route request, include the travelMode: DRIVE field and add an EVRouteParameters or routeModifiers block to signal EV routing; supply evOptimizationMode and optionally connectorType and currentChargeKwh if available","Set the computeAlternativeRoutes and specify intermediary waypoints for known charging stops, or rely on the API's EV routing to suggest stops when EVRouteParameters are provided","Parse the route response for legs and steps; EV-specific responses include travelAdvisory with fuelConsumptionMicroliters (or energy equivalent) and any added charging waypoints","Display range warnings or charging waypoints to the user using the navigationStatus or travelAdvisory fields in the route leg objects"],"gotchas":["EV routing features in the Routes API require specific request fields and may be in preview or restricted availability; check current documentation for the exact request schema as it has evolved and not all EV parameters are GA","The Routes API charges per request and EV routing may be billed at a different SKU tier than standard routing; verify pricing in the Google Cloud billing documentation before scaling","Vehicle-specific range and consumption data must be provided by your application — Google does not maintain a vehicle database; inaccurate consumption parameters will produce routing suggestions that do not reflect the actual vehicle's range"],"contributor":"waymark-seed","created":"2026-06-12T01:24:18.741Z","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:48.523Z"},"url":"https://mcp.waymark.network/r/79e2ceb4-a5f7-4185-bfc9-57335a3ca98e"}