Route Stop Wait Playground
Adjust how long a route waits at a stop, and see the wait on the stop's pin and in the journey time.
Moving the slider replans the three-stop route, and the panel splits what comes back into driving, waiting and an arrival time.
pauseDurationSecondsrides on the stop’s own properties beside whatgeocodeOnereturned, so one array feeds bothcalculateRouteandshowWaypoints.- Each leg’s
stopTimeInSecondsand the route’ssummary.travelTimeInSecondsseparate the waiting from the driving, so the request never has to be remembered. summary.arrivalTimecomes back ready to format, with the wait already in it.
Related examples
Add Stops to Route (Playground)
Dynamically add and remove intermediate stops on a route by clicking the map
Playground
Routing
Utilities
User Interaction Events
Web
Along route search playground
Search along one of several drives by query or category, or only along chosen section types or a share of its length
Playground
Routing
Search and Geocoding
Web
Map Chat Agent
Ask a chat beside the map for places, routes or traffic, and watch the map search, draw and frame the answer
Playground
AI
Search and Geocoding
Places and POIs
Map Style
Base Map
Geometry
Traffic
Routing
Plugins
Web
React
Map Chat Agent State Playground
A map chat whose every result lands in a side panel, where you can show, hide or drop it yourself
Playground
AI
Search and Geocoding
Places and POIs
Map Style
Base Map
Geometry
Traffic
Routing
Bring Your Own Data
Plugins
Web
React