Skip to content

Conversation

@abhishek1508
Copy link
Contributor

@abhishek1508 abhishek1508 commented Aug 18, 2022

The example makes use of MapboxNavigation to request routes outside NavigationView. Based on the routes received the example then transitions NavigationView to ActiveNavgiation state.

Record_2022-08-18-09-55-06.mp4

@abhishek1508 abhishek1508 requested a review from a team as a code owner August 18, 2022 04:21
@abhishek1508 abhishek1508 merged commit 2709a5c into main Aug 18, 2022
@abhishek1508 abhishek1508 deleted the ak-request-routes-navigation-view branch August 18, 2022 08:25
Comment on lines +140 to +141
// Sets routes to preview state.
binding.navigationView.api.setPreviewRoutes(routes)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we need this if we go to the AG state immediately?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You go into route preview state by pressing the back button. Without this call there won't be any routes in this state.

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

Successfully merging this pull request may close these issues.

3 participants