Mapbox Offboard Router

Artifact that provides the default implementation of the offbaord (online) routing engine implementation

License

License

BSD
GroupId

GroupId

com.mapbox.navigation
ArtifactId

ArtifactId

router-offboard
Last Version

Last Version

1.0.0-beta.1
Release Date

Release Date

Type

Type

aar
Description

Description

Mapbox Offboard Router
Artifact that provides the default implementation of the offbaord (online) routing engine implementation
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 router-offboard

How to add to project

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

Dependencies

compile (1)

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

runtime (4)

Group / Artifact Type Version
com.mapbox.navigation : utils jar 1.0.0-beta.1
androidx.annotation » annotation jar 1.1.0
org.jetbrains.kotlin : kotlin-stdlib-jdk7 jar 1.3.61
com.mapbox.mapboxsdk : mapbox-sdk-services jar 5.1.0-beta.1

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