What routing.events.on('shown-features', ...) receives: whichever of routes or waypoints was just rendered.
routing.events.on('shown-features', ...)
What
routing.events.on('shown-features', ...)receives: whichever of routes or waypoints was just rendered.