Route Instructions
In this guide you will learn how to get the text instructions for a computed route.
This example computes a route and then displays the text instructions for navigation along that route.
Route instruction list
Routing
A route must be calculated similar to RoutingOnMap
example. See Routing on Map Example.
Displaying route instructions
The function displayRouteInstructions(..)
passes a list of RouteInstruction
to a recyclerview adapter.
Inside the onBindViewHolder(..)
method of the adapter the key informations are filtered and prepared for display.