Mapbox Navigation SDK

Main artifact that provides all default modules and entry points of the Mapbox Navigation SDK

License

License

BSD
GroupId

GroupId

com.mapbox.navigation
ArtifactId

ArtifactId

core
Last Version

Last Version

1.0.0-beta.1
Release Date

Release Date

Type

Type

aar
Description

Description

Mapbox Navigation SDK
Main artifact that provides all default modules and entry points of the Mapbox Navigation SDK
Project URL

Project URL

https://github.com/mapbox/mapbox-navigation-android
Source Code Management

Source Code Management

https://github.com/mapbox/mapbox-navigation-android

Download core

How to add to project

<!-- https://jarcasting.com/artifacts/com.mapbox.navigation/core/ -->
<dependency>
    <groupId>com.mapbox.navigation</groupId>
    <artifactId>core</artifactId>
    <version>1.0.0-beta.1</version>
    <type>aar</type>
</dependency>
// https://jarcasting.com/artifacts/com.mapbox.navigation/core/
implementation 'com.mapbox.navigation:core:1.0.0-beta.1'
// https://jarcasting.com/artifacts/com.mapbox.navigation/core/
implementation ("com.mapbox.navigation:core:1.0.0-beta.1")
'com.mapbox.navigation:core:aar:1.0.0-beta.1'
<dependency org="com.mapbox.navigation" name="core" rev="1.0.0-beta.1">
  <artifact name="core" type="aar" />
</dependency>
@Grapes(
@Grab(group='com.mapbox.navigation', module='core', version='1.0.0-beta.1')
)
libraryDependencies += "com.mapbox.navigation" % "core" % "1.0.0-beta.1"
[com.mapbox.navigation/core "1.0.0-beta.1"]

Dependencies

compile (1)

Group / Artifact Type Version
com.mapbox.navigation : base jar 1.0.0-beta.1

runtime (9)

Group / Artifact Type Version
com.mapbox.base : annotations jar 0.0.1-alpha.2
com.mapbox.navigation : utils jar 1.0.0-beta.1
com.mapbox.navigation » navigator jar 1.0.0-beta.1
com.mapbox.navigation : router jar 1.0.0-beta.1
com.mapbox.navigation : notification jar 1.0.0-beta.1
com.mapbox.mapboxsdk : mapbox-sdk-turf jar 5.1.0-beta.1
com.mapbox.mapboxsdk » mapbox-navigation-accounts-android jar 0.2.0
org.jetbrains.kotlin : kotlin-stdlib-jdk7 jar 1.3.61
org.jetbrains.kotlinx : kotlinx-coroutines-android jar 1.3.3

Project Modules

There are no modules declared in this project.
Mapbox Service

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.

Getting Started

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.

Getting Help

  • 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.

Using Snapshots

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.

1.0.0+ versions of the Navigation SDK:

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'
}
Pre-1.0.0 versions of the Navigation SDK:

SNAPSHOTs are available on Sonatype.

Add the following code snippet to your project-level build.gradle file:

repositories {
    mavenCentral()
    maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
}

dependencies {
    implementation 'com.mapbox.mapboxsdk:mapbox-android-navigation:0.43.0-SNAPSHOT'
}

Sample code

We've added several navigation examples to this repo's examples module to help you get started with the Navigation SDK and to inspire you.

Contributing

We welcome feedback, translations, and code contributions! Please see CONTRIBUTING.md for details.

com.mapbox.navigation

Mapbox

Mapbox is the location data platform for mobile and web applications. We're changing the way people move around cities and explore our world.

Versions

Version
1.0.0-beta.1