NavigationView()
function NavigationView(props: NavigationViewProps): Element;
Defined in: src/NavigationView.tsx:76
Full-screen turn-by-turn navigation UI: NavigationViewController from MapboxNavigationUIKit on iOS, and an
equivalent built from the Navigation SDK UI components on Android.
It uses the app's single navigation session: mounting it, or giving it a new route, starts guidance along that route, replacing any active guidance, and unmounting it or the user ending the trip stops guidance. If guidance started from free drive, the session returns to free drive instead. Show one at a time.
Parameters
| Parameter | Type | Description |
|---|---|---|
props | NavigationViewProps | See NavigationViewProps. |
Returns
Element