An open source toolset for building applications that need navigation, directions, geocoding, or static map imagery.
To avoid bringing unnecessary dependencies to Android projects, this project is split into specialized libraries:
mapbox-java-core: Java models shared across all modules.mapbox-java-geojson: Java support for GeoJSON objects (Feature,FeatureCollection,Geometry,GeometryCollection,LineString,MultiLineString,MultiPoint,MultiPolygon,Point, andPolygon).mapbox-java-services: Support for Mapbox APIs (directions, geocoding, map matching, distance, static image) including Turf.mapbox-java-services-rx: RxJava extensions formapbox-java-services.mapbox-android-services: Drop-in replacement for the Android Geocoder using Mapbox services.mapbox-android-telemetry: Telemetry component for the Mapbox Android SDK.mapbox-android-ui: Android-specific widgets, includes an autocomplete view for the Mapbox Geocoding API.
Java & Android:
- Integrate with the Directions API
- Integrate with the Geocoding API
- Integrate with the Map Matching API
- Integrate with the Distance API
- Integrate with the Static Image API
- Line simplification
- Geospatial analysis functionality, adapted from the Turf project
-
RouteUtilsfor detecting when a user or marker location becomes off route to help you build navigation apps - Tidy which cleans noisy GPS traces removing repetitive coordinates from a GeoJSON Feature Collection
Android:
- Ready-to-go geocoder input view with autocompletion.
- Drop-in replacement for stock Android Geocoder object.
All libraries listed above are available on Maven Central. You could simply:
<dependency>
<groupId>com.mapbox.mapboxsdk</groupId>
<artifactId>mapbox-java-services</artifactId>
<version>1.3.1</version>
</dependency>
or, in Gradle:
compile 'com.mapbox.mapboxsdk:mapbox-java-services:1.3.1'
Nightly snapshots are available on Sonatype.
For more details on how to install and use MAS in an application, see the Mapbox Android Services website.
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 SDK examples page for additional code examples.
All libraries are contained within the mapbox folder. You can import the project using Android Studio or IntelliJ IDEA.
