At street zoom the route through central Amsterdam carries a white manoeuvre arrow at every turn, and the Directions panel lists each instruction with the lanes to take.
guidance: { type: 'coded' }oncalculateRouteadds turn-by-turn instructions to the response.RoutingModule.showRoutesreads those instructions and draws the arrow layer itself, so there is no per-manoeuvre marker to place.getInstructionLanesfinds thelanessection leading to an instruction, which the panel draws as a sign in its text colour.showWaypointsadds the origin and destination pins from the same module.
Related examples
Add Stops to Route
Find stops along a route within a one-minute detour and insert them all at optimal positions in a single call.
Getting Started
Routing
Search and Geocoding
Electric Vehicles
Utilities
Web
Along route search
Find the beaches and viewpoints within a one-minute detour of a coastal drive
Getting Started
Routing
Search and Geocoding
Web
Display units
Switch a route's labels and your own text between metric, imperial UK and imperial US units.
Getting Started
Utilities
Routing
Web
Map reachable ranges from multiple locations
Calculate time-based accessibility areas from multiple locations
Getting Started
Routing
User Interaction Events
Web