bramus / react-native-maps-directions

Directions Component for `react-native-maps`
MIT License
1.24k stars 196 forks source link

How to start navigation(car) for the found directions by <MapViewDirections>? #186

Closed burakkbilginn closed 2 years ago

burakkbilginn commented 2 years ago

There is a mapview, and mapviewdirections inside it. Everything is done well, and origin and destination coordinates are acquired briefly as below:

<MapView >
   <MapViewDirections />
</MapView>

Now, how can I start the navigation by car i.e by clicking a button? Is there a built in feature for that? Or should I build everything step by step for mocking up the native google maps app?

EmmanuelSkapple commented 2 years ago

There is a mapview, and mapviewdirections inside it. Everything is done well, and origin and destination coordinates are acquired briefly as below:

<MapView >
   <MapViewDirections />
</MapView>

Now, how can I start the navigation by car i.e by clicking a button? Is there a built in feature for that? Or should I build everything step by step for mocking up the native google maps app?

can u resolve this?

bramus commented 2 years ago

That's something that's not part of the scope of react-native-maps-directions