You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<MapboxNavigation origin={currentLocation} destination={Pickup ? dropoff : pickup} shouldSimulateRoute={false} onLocationChange={event => { const {latitude, longitude} = event.nativeEvent; }} onRouteProgressChange={event => { const { distanceTraveled, durationRemaining, fractionTraveled, distanceRemaining, } = event.nativeEvent; }} onError={event => { const {message} = event.nativeEvent; console.log(message); }} onCancelNavigation={() => { // User tapped the "X" cancel button in the nav UI // or canceled via the OS system tray on android. // Do whatever you need to here. navigation.navigate('Transit', { order, current_status: 'NAVIGATING', }); }} onArrive={() => { // Called when you arrive at the destination. Pickup ? CONFIRM_DROPOFF() : CONFIRM_PICKUP(); }} />
The text was updated successfully, but these errors were encountered:
<MapboxNavigation origin={currentLocation} destination={Pickup ? dropoff : pickup} shouldSimulateRoute={false} onLocationChange={event => { const {latitude, longitude} = event.nativeEvent; }} onRouteProgressChange={event => { const { distanceTraveled, durationRemaining, fractionTraveled, distanceRemaining, } = event.nativeEvent; }} onError={event => { const {message} = event.nativeEvent; console.log(message); }} onCancelNavigation={() => { // User tapped the "X" cancel button in the nav UI // or canceled via the OS system tray on android. // Do whatever you need to here. navigation.navigate('Transit', { order, current_status: 'NAVIGATING', }); }} onArrive={() => { // Called when you arrive at the destination. Pickup ? CONFIRM_DROPOFF() : CONFIRM_PICKUP(); }} />
The text was updated successfully, but these errors were encountered: