Skip to content

RepoForks/mapbox-java

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

302 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Maven Central

Mapbox Android Services (MAS)

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, and Polygon).
  • mapbox-java-services: Support for Mapbox APIs (directions, geocoding, map matching, distance, static image) including Turf.
  • mapbox-java-services-rx: RxJava extensions for mapbox-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.

Features

Java & Android:

Android:

  • Ready-to-go geocoder input view with autocompletion.
  • Drop-in replacement for stock Android Geocoder object.

Installation

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.

Sample code

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.

Contributing

All libraries are contained within the mapbox folder. You can import the project using Android Studio or IntelliJ IDEA.

About

Mapbox Java and Android Services.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Java 98.2%
  • Python 1.1%
  • Makefile 0.7%