turn by turn from mapbox in android

1.9k Views Asked by At

I see the release of iOS turn by turn example app from mapbox

https://www.mapbox.com/blog/open-source-mapbox-navigation-swift/

is there anything similar for android.

Is there a chance to replicate with a webview?

Here are examples of web turn by turn and github code

2

There are 2 best solutions below

0
On BEST ANSWER

There was an official release of turn by turn navigation for iOS and Android of the Mapbox SDK: https://www.mapbox.com/navigation-sdk/

They include things like:

  • Automatic rerouting
  • Open source components
  • Turn-by-turn guidance
  • Navigation map with traffic
  • Drop-in navigation UI
  • Walking, biking, and driving modes

On the other hand, and related with the WebViews availability of a turn by turn API, you could use any JavaScript option like GraphHopper: https://www.graphhopper.com/ I'm using it for a personal project and it has online and offline features. They 'only' provide the path and the instructions. And it's totally open source. You will have to build your navigation features on top.

1
On

Good news, the Mapbox Navigation SDK for Android SDK is around the corner. A beta version was released recently and you can already read a preview of the documentation.

This SDK is meant for native Android/Java applications, we currently have no plans to include this SDK in a WebView or in hybrid apps directly.