-
Notifications
You must be signed in to change notification settings - Fork 322
Route preview and turn-by-turn UI in the same view? #4031
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
Comments
@sundeepgupta, that's correct, one clarification regarding Speaking of Regarding In #4022 we try to improve these transitions and then document them, but at this point such functionality is not released yet. |
So in short here're some configurations you can have:
|
Thanks for the comprehensive answer. Based on what you say, would you agree that the more advisable route is to use the first configuration if there's not too much customization needed:
If so, I'd want make it look like everything is being done in a single view, so I'd want to embed the When the navigation is in progress, and the user wants to pause/stop the navigation, I'd want to show an updated route preview. Is there a way to update the route preview automatically? Or would a new |
@sundeepgupta, guide for navigation camera APIs can be found here. Basically everything related to work with navigation camera is done via Speaking of preferred presentation choice: it depends on your application features and how you want to extend certain functionality in future.
Depends on a level of changes that were made to the route line during active navigation. If a lot of changes were made to the |
Thank you, I will look into those things you mention. |
@MaximAlien, #4022 is what we're after and I see there are changes required to the SDK. I'm trying to decide if we should
Can you share any ETAs on the first three options? |
Hello @sundeepgupta, please see my answers:
After releasing GA we plan to create several examples to showcase such functionality in mapbox/mapbox-navigation-ios-examples#171 and mapbox/mapbox-navigation-ios-examples#170. |
Thanks @MaximAlien those timelines will be helpful for us. Can you elaborate on:
|
It'll depend on the level of complexity of your app, but if you heavily modify |
Ok I see. thank you. |
Hey @MaximAlien , do you know if these examples are released? |
Hi there, I've been looking at how things are done and it seems that the route preview needs to be shown in a
NavigationMapView
, but then the navigation is done by presenting/pushing/embedding aNavigationViewController
- which also has its ownNavigationMapView
.I haven't seen any docs/examples where the same
NavigationMapView
is used. Is there a reason for this? Did I miss something in the docs? Is it possible to use the same view for both - perhaps withNavigationViewController
?One thing I see is that navigation is started when
NavigationViewController
loads:mapbox-navigation-ios/Sources/MapboxNavigation/NavigationViewController.swift
Lines 256 to 257 in 84c804f
The text was updated successfully, but these errors were encountered: