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

i am trying to get a route but the request fails each time . using mapbox #1422

Open
binarysmith1719 opened this issue Oct 18, 2022 · 0 comments

Comments

@binarysmith1719
Copy link

mapboxNavigation.requestRoutes(
        RouteOptions.builder()
            .applyDefaultNavigationOptions()
            .applyLanguageAndVoiceUnitOptions(this)
            .coordinatesList(listOf(originPoint,destinationPoint))
            .profile(DirectionsCriteria.PROFILE_WALKING)
            .alternatives(false)
            .bearingsList(
                listOf(
                    Bearing.builder()
                        .angle(originLocation.bearing.toDouble())
                        .degrees(45.0)
                        .build(),
                    null
                )
            )
            .build(), routerCallback
    )
@binarysmith1719 binarysmith1719 changed the title i am trying to get a route but the request fails each time i am trying to get a route but the request fails each time . using mapbox Oct 18, 2022
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

1 participant