Skip to content
This repository has been archived by the owner on Oct 7, 2024. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant