When your users want to get from one location to another, donβt push them out of your application into a generic map application. Instead, keep them engaged with your application 100% of the time with in-app turn-by-turn navigation.
The Mapbox Navigation SDK for Android is built on top of the Mapbox Directions API and contains logic needed to get timed navigation instructions.
The Mapbox Navigation SDK is a precise and flexible platform which enables your users to explore the world's streets. We are designing new maps specifically for navigation that highlight traffic conditions and helpful landmarks. The calculations use the user's current location and compare it to the current route that the user's traversing to provide critical information at any given moment. You control the entire experience, from the time your user chooses a destination to when they arrive.
NOTE: On June 3rd, 2020, Mapbox released the 1.0
version of the Navigation SDK. The Mapbox team recommends that you build your navigation project with a 1.0
version or higher.
Here are 1.0
installation instructions and full documentation can be found along the sidebar sections of https://docs.mapbox.com/android/beta/navigation/overview.
Along with the full documentation, this migration guide can help you transition your project from a "legacy" version of the Navigation SDK (0.42.6
or below) to a 1.0
version or higher.
Please see this documentation link if you're looking for information on the "legacy" pre-1.0.0
Navigation SDK and you don't plan on migrating your project to 1.0.0
or higher.
- Need help with your code?: Look for previous questions on the #mapbox tag β or ask a new question.
- Have a bug to report? Open an issue. If possible, include the version of Mapbox Services, a full log, and a project that shows the issue.
- Have a feature request? Open an issue. Tell us what the feature should do and why you want the feature.
You can use a -SNAPSHOT
release if you want to test recent bug fixes or features that have not been packaged in an official release yet.
To access SNAPSHOT builds follow the installation instructions but replace the repository url and the version name:
allprojects {
repositories {
maven {
url 'https://api.mapbox.com/downloads/v2/snapshots/maven'
authentication {
basic(BasicAuthentication)
}
credentials {
username = "mapbox"
password = "{secret Mapbox token with DOWNLOADS:READ scope}"
}
}
}
}
dependencies {
implementation 'com.mapbox.navigation:ui:1.2.0-SNAPSHOT'
}
Examples for Mapbox Navigation Android SDK are now available on their own separate repo, available here.
The QA application is available here.
General documentation for Mapbox Navigation Android SDK is available here.
We welcome feedback, translations, and code contributions! Please see CONTRIBUTING.md for details.