Mapbox Android Services contains directions, geocoding, and many more APIs to use inside your Android or Java application. This repository holds the source code for the project and is divided into several modules to make it easier for developers to only include the dependencies needed for their project.
If you are looking to include this inside your project, please take a look at the detailed instructions found in our docs. If you are interested in building from source, read the contributing guide inside this project.
You'll find all of the documentation for this SDK on our Mapbox Services page. This includes information on installation, using the APIs, and links to the API reference.
- 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.
If you want to test recent bugfixes or features that have not been packaged in an official release yet, you can use a -SNAPSHOT
release of the current development version of Mapbox Services via Gradle, available on Sonatype. There are several different snapshots built nightly. Feel free to use any of the modules as needed.
repositories {
mavenCentral()
maven { url "http://oss.sonatype.org/content/repositories/snapshots/" }
}
dependencies {
compile 'com.mapbox.mapboxsdk:mapbox-android-services:2.3.0-SNAPSHOT'
}
Check the Android Test App for examples or download the Mapbox Demo App to see what's possible with Mapbox Android Services. You can also visit the Mapbox Android examples page for additional code examples.
All libraries are contained within the mapbox
folder. Please import mapbox-java/mapbox
as the project root folder using Android Studio or IntelliJ IDEA. Read the contribution guide to get setup properly.