We geocode your origin and destination, then request a driving route from Google Directions (or OpenRouteService when configured). The returned polyline is the path we use for distance, elevation hints, and charger discovery — not a straight line between cities.
Long routes may be split into chunks so discovery stays fast. Cached routes are reused for identical city pairs for up to 30 days.
