An open API service indexing awesome lists of open source software.

https://github.com/utsmannn/geolib

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

Last synced: 5 months ago
JSON representation

Android helper libraries for geolocation, places and animating polyline.

Awesome Lists containing this project

README

          


Geolib




License
License
Pull request
Fcm docs
Twitter
Github

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
License

## Artifact libraries
- [Location library](https://github.com/utsmannn/geolib/wiki/Location)
- [Routes Library](https://github.com/utsmannn/geolib/wiki/Routes)
- [Polyline utils](https://github.com/utsmannn/geolib/wiki/Polyline)
- [Marker utils](https://github.com/utsmannn/geolib/wiki/Marker)

## Screenshot
|Get location|Search location|
|---|---|
|![](images/current_location.gif)|![](images/search_location.gif)|

|Route|Polyline-utils|
|---|---|
|![](images/route.gif)|![](images/polyline_animate.gif)|

|Curve polyline mode| All draw mode|
|---|---|
|![](images/polyline_curve.gif)|![](images/draw_polyline.gif)|

## Prerequisite
### HERE Api
You need HERE Api, open https://developer.here.com/. Create new account or login and create api key.
![](images/here_api.png)

### Google dependencies
```groovy
// 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
```groovy
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.
```
---