onRoutesReady
Called whenever a new set of routes is available.
Parameters
routes
the most optimal route has index 0. If requested, alternative routes are available on higher indices. At least one route is always available in a successful response.
routerOrigin
route origin