Is it possible to retreive from Mapbox Directions API, routes (for specified points) which are restricted to my own routes source ? Now I receive good routes, but in my case, I have my own layers with pathes and sometimes Mapbox gives me route which is not part of my layer on the map.
1 Answers
1
votes
It is not possible to restrict the Mapbox router (which is based upon OSRM) to a certain set of streets.
What you can do, is to use Mapbox Map Matching to retrieve a route that has a set of coordinates (which you can pass in the MapMatching request) as waypoints.