Skip to content

Mapbox directions API using own route #118

@uokesita

Description

@uokesita

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions