Show an elevation profile
ItineraryProfile draws an itinerary's elevation from one request. It needs no map.
One request No map required
Name an itinerary and give the provider a client:
Both imports skip the map renderer, so a page with no map loads no MapLibre. Install lists the packages, and Hooks the derivations behind the chart.
Everything past the curve is opt-in:
curveColors colours the curve by gradient, by your own classes, or by spans you pass.
Where waypoints declare services, the profile stacks them as badges above each pin. Pass formatCutoffAt to print each place's cut-off time:
Put a map on the provider and the profile follows it:
Hovering the curve pins the place on the map. Hovering the route tints that leg on the chart.