Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Turn by turn navigation #627

Closed
aboeglin opened this issue Sep 10, 2017 · 38 comments
Closed

Turn by turn navigation #627

aboeglin opened this issue Sep 10, 2017 · 38 comments

Comments

@aboeglin
Copy link

Hi,

I know for now there's no turn by turn support for the v5. I have checked the roadmap of v6 and didn't see any mention of it. Is there any plan to add such a functionality ? I saw the native SDKs propose that functionality and advertise it as "Add turn-by-turn navigation to your app in under five minutes".

To contributors :
I don't have much experience in bridging native modules, I have a bit of experience on android, and worked on ios quite a while ago but with some effort I could get up to date with objective-c. If anyone could point me in the right direction and help me get started I could take on such a feature.
Another question, what would be the effort for integrating such a feature ?

@nitaliano
Copy link
Owner

@aboeglin we have experimented with react native and the navigation sdk internally, but we have no official plans on supporting it as of now. Our main focus is to stabilize this repo and get the rewrite out there.

The navigation sdk components would not be part of this repo, you could imagine a world like this

react-native-mapbox-gl

  • This repo provides all the mapping components (Mapview, Sources, Layers, Markers)

react-native-mapbox-navigation

  • This repo would provide services navigation services like (Directions, Estimated Arrival time, ...etc)
  • NavigationModal (Custom/Drop In)
  • Common navigation ui components

Adding the drop in UI is pretty straight forward to do in react native(following that same pattern that the RN modal implements), but the downside is there would not be much that would be customizable. Wrapping the whole navigation sdk would be a huge undertaking and would be better off handled once this repo is in a better state.

@RWOverdijk
Copy link
Contributor

@nitaliano Is there any eta on navigation? I'd love to use this in my next app.

@nitaliano
Copy link
Owner

@RWOverdijk there is nothing officially planned yet. I'll bring it up internally again and see where we land on it and let you know.

@RWOverdijk
Copy link
Contributor

@nitaliano Awesome! A guide as to how to use the directions api would do as well. I can implement instructions myself (and perhaps even make it a component for react native).

@nitaliano
Copy link
Owner

@RWOverdijk we just did a blog post recently https://blog.mapbox.com/adding-directions-to-the-react-native-store-locator-kit-ade759bd824e and the store locator kit makes use of the directions API https://github.com/mapbox/store-locator-react-native.

Here is a link to our main API documentation - https://www.mapbox.com/api-documentation/#directions

We have a prebuilt JS SDK that also works on RN here is a link to the directions documentation https://github.com/mapbox/mapbox-sdk-js/blob/master/API.md#getdirections

Let me know if you need more information I would be happy to help

@clarktank
Copy link

@nitaliano Any updates on this FR. It would be really cool to have a turn by turn navigation out of the box!

@engelzero
Copy link

Turn by turn navigation would be sick af for this.

@rheng001
Copy link

rheng001 commented May 6, 2018

I agree! This would be great.

@terryttsai
Copy link
Contributor

Hi, we want to integrate turn-by-turn navigation in our react native app as well!

@maks171293
Copy link

+1

10 similar comments
@juergengunz
Copy link

+1

@dsall
Copy link

dsall commented Aug 14, 2018

+1

@paul019
Copy link

paul019 commented Aug 15, 2018

+1

@n0emis
Copy link

n0emis commented Aug 15, 2018

+1

@luisRubiera
Copy link

+1

@nitinsh99
Copy link

+1

@legend27sg
Copy link

+1

@ghost
Copy link

ghost commented Sep 13, 2018

+1

@gino8080
Copy link

+1

@irwangunardi
Copy link

+1

@ayushnawani
Copy link

ayushnawani commented Oct 22, 2018

I am also waiting for this feature

@RekarBotany
Copy link

Any news for this feature?

@dorshay6
Copy link

+1

5 similar comments
@claudioviola
Copy link

+1

@daywong1119
Copy link

+1

@patrick-stevenok
Copy link

+1

@trignodev-manish
Copy link

+1

@jethromayuk
Copy link

+1

@113408
Copy link

113408 commented Nov 27, 2018

Why wouldn’t you try to add the native modules directly to your React Native app ? There is a quick guide over here : https://medium.com/@113408/turn-by-turn-navigation-using-react-native-and-mapbox-eb42c79a0a77

@cosmin-petrescu
Copy link

+1

4 similar comments
@kevinegstorf
Copy link

+1

@ReSpawN
Copy link

ReSpawN commented Jan 22, 2019

+1

@nitish1099
Copy link

+1

@lidio601
Copy link

lidio601 commented Mar 8, 2019

+1

@dancomanlive
Copy link

Any update ???

@Yingi
Copy link

Yingi commented May 15, 2019

Why wouldn’t you try to add the native modules directly to your React Native app ? There is a quick guide over here : https://medium.com/@113408/turn-by-turn-navigation-using-react-native-and-mapbox-eb42c79a0a77

Only for IOS. How about for Android?????????? Android Please!!!!!!!

@DavidKHahn
Copy link

Any updates for the Android? We'd love support on React Native navigation!

@swaxtic
Copy link

swaxtic commented Jan 6, 2020

any update for android now?

irvingchenn pushed a commit to studyroz/react-native-mapbox-gl that referenced this issue Jun 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests