Show an elevation profile
ItineraryProfile draws an itinerary's elevation from one request. It needs no map, and links to one when you hand it yours.
Make one ItineraryResourceCache per client, and name the itinerary:
The cache reads through your client, so every element over one itinerary costs one request.
Everything past the curve is a part you ask for:
coloring colours the curve by gradient, by your own classes, or by spans you pass.
Places that declare services show them above their pin. Pass formatCutoffAt to write each place's cut-off time:
A cut-off is written only by your function, because its time zone is your app's.
Hand the profile your map. A scrub over the curve pins a marker on the map and lights the leg under it: