/kujaku

Mapping and check-in library for Android using MapBox SDK

Primary LanguageJavaBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Kujaku (Peacock) Build Status Download Coverage Status

A mapping and check-in library for Android using MapBox SDK (Version 7.2.0)

Table of Contents

Setup Instructions

Running Sample App

For instructions on how to run the sample app see these instructions.

Importing the Library

How to publish artifacts

To publish new versions to the Bintray/JFrog account, run:

export BINTRAY_USER=johndoe
export BINTRAY_KEY=98sdfkmykeyhere90sdckl
./gradlew :utils:clean :utils:assembleRelease :utils:bintrayUpload
./gradlew :library:clean :library:assembleRelease :library:bintrayUpload

To publish locally:

./gradlew :utils:clean :utils:assembleRelease :utils:publishToMavenLocal
./gradlew :library:clean :library:assembleRelease :library:publishToMavenLocal

How to import the library

To import the library:

  1. Add the following snippet to your app module build.gradle
...


allprojects {
    repositories {
        maven { url "http://dl.bintray.com/ona/kujaku" }
    }
}

This adds the bintray repository to your configuration

  1. Add the following snippet to your app module build.gradle
...
android {

... 

dependencies {
    ...
    // Kujaku dependencies
    implementation 'io.ona.kujaku:library:0.7.2'
    ...
}

How to use the library

The library offers a view KujakuMapView that provides more functionality than Mapbox.

  • For Mapbox related functionality, go here
  • For extra features provided by this library go here

License

This software is provided under the Apache 2 license, see the LICENSE file for further details.

Acknowledgements

We’d like to acknowledge The Bill and Melinda Gates Foundation and Qualcomm for supporting us in this work.