YoussefHenna / expo-mapbox-navigation

MIT License
7 stars 2 forks source link

End Navigation on Arrived to destination #12

Open syedmumersajjad opened 5 hours ago

syedmumersajjad commented 5 hours ago

Can we get rid of when reached at the destination?

YoussefHenna commented 5 hours ago

The way the library is built is that it's always in navigation mode, there's no state where it's not. You could hide the component using onFinalDestinationReached callback though with a state variable that you update.

syedmumersajjad commented 5 hours ago

the bottom sheet appears when we reached at the destination End of Navigation can we hide that bottom sheet? also need padding bottom to display route and marker clearly in the ios