Skip to main content

RNNavigationView()

function RNNavigationView(props: RNNavigationViewProps): Element;

Defined in: src/RNNavigationView.tsx:86

<NavigationView> built in React Native from the headless API, on an @rnmapbox/maps navigation map: a maneuver banner with road shields, exit numbers and lanes, speed limit, road name, trip progress, mute, overview/recenter and end buttons, and an arrival card. Navigation maps draw the alternative routes of its guidance; tapping one switches to it.

It uses the app's single navigation session like <NavigationView>. Use it as is, or copy it as a starting point for your own UI.

Parameters​

ParameterTypeDescription
propsRNNavigationViewPropsSee RNNavigationViewProps.

Returns​

Element