Geolib
Android helper libraries for geolocation, places, markering and animating polyline.
Build for modern architecture with Kotlin and Coroutine
Documentation libraries
Check docs on wiki https://github.com/utsmannn/geolib/wiki
Sample https://github.com/utsmannn/geolib-app-samples
Latest Version on Maven Central
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'
All dependencies
ext.geolib_version = "2.5.6"
// location
implementation "io.github.utsmannn:geolib-location:$geolib_version"
// routes
implementation "io.github.utsmannn:geolib-routes:$geolib_version"
// polyline utils
implementation "io.github.utsmannn:geolib-polyline:$geolib_version"
// google maps marker utils
implementation "io.github.utsmannn:geolib-marker:$geolib_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.