Directions API Playground
The Mapbox Directions API produces turn-by-turn instructions using four different Mapbox routing profiles: mapbox/driving-traffic
, mapbox/driving
, mapbox/walking
, and mapbox/cycling
.
To use the playground, select an origin and at least 1 destination by either:
- Clicking directly on the map.
- Adding locations in the sidebar by their longitude/latitude or searching by name.
With each update, the playground will call the directions API and display the results for you to inspect. You can adjust the parameters to experiment with different settings to create your route.
Reporting issues about a suggested route
After using the playground to generate directions, you can provide feedback about a suggested route to help us improve the Directions API.
- In the directions sidebar, click the purple Send feedback about this route button.
- Select a feedback category and leave your suggestion in the comments.
Loading...
Was this playground helpful?