/geolib

https://utsmannn.github.io/geolib . Android helper libraries for geolocation, places and animating polyline.

Primary LanguageKotlinApache License 2.0Apache-2.0

Geolib

artifactory License Pull request Fcm docs Twitter Github

Android helper libraries for geolocation, places and animating polyline.
Build for modern architecture with Kotlin and Coroutine

Documentation libraries

Check docs https://utsmannn.github.io/geolib
Sample https://github.com/utsmannn/geolib-app-samples

Artifact libraries

Screenshot

Get location Search location
Route Polyline-utils
Curve polyline mode All draw mode

Prerequisite

HERE Api

You need HERE Api, open https://developer.here.com/. Create new account or login and create api key.

Google dependencies

// Google maps if needed
implementation 'com.google.android.gms:play-services-maps:17.0.0'
implementation 'com.google.maps.android:android-maps-utils:0.5'
implementation 'com.google.maps.android:maps-ktx:2.1.1'

// Google play location
implementation 'com.google.android.gms:play-services-location:17.1.0'

Jitpack repository

allprojects {
    repositories {

        // add this url
        maven { url 'https://utsmannn.jfrog.io/artifactory/android' }
    }
}

All dependencies

// location
implementation 'com.utsman.geolib:location:{last_version}'

// routes
implementation 'com.utsman.geolib:routes:{last_version}'

// polyline utils
implementation 'com.utsman.geolib:polyline:{last_version}'

// google maps marker utils
implementation 'com.utsman.geolib:marker:{last_version}'

License

Copyright 2021 Muhammad Utsman

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.