Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mapbox directions API using own route #118

Open
uokesita opened this issue Jun 3, 2018 · 1 comment
Open

Mapbox directions API using own route #118

uokesita opened this issue Jun 3, 2018 · 1 comment

Comments

@uokesita
Copy link

uokesita commented Jun 3, 2018

I'm trying to make a react-native application for cyclists; I have some routes (coordinates) in a separate file that the cyclist can use.

I need to make Direction API requests that are bounded to those routes.

I know I can add waypoints to a request, but those would be "required" stops in the route. I need the API to use the waypoints as some references of "ideal" waypoints.

For example, in the image, the lines in red are the one I have stored, and the purple line is the Directions given by the API. I would like the API to use the circled stretch instead.

Is it possible to do it with Mapbox API or any other way? can I use any other tool for generating the route I need?

@Ksen17
Copy link

Ksen17 commented Jun 24, 2019

Working on the same problem in another context
Have you found a solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants