See 1 Available Translations 🇨🇳
- [🇨🇳 简体中文](./README-zh_CN.md)
---
# Android - EasyWayLocation
This library contains all utils related to google location. like, getting lat or long, Address and Location Setting dialog, Draw Route, etc
[](https://android-arsenal.com/details/1/6880)
## What's New in Ver 2.4
- Arc Route Draw
a. simple.
b. animation.
- Draw Arc route between origin and destination.
- Now , Dev can change parameter dynamically like origin, waypoints, etc
- Get polyline details class in arrayList and HashMap.
- Clear Polyline by using TAG for both Arc and waypoints polylines.
- Fix Major Crash
- Created one track demo in sample folder for more usage Help
# Demo Images and Gif:





# Prerequisites
- Android 16
# Installing
## Step 1:- Add it in your root build.gradle at the end of repositories:
````
all projects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
````
## Step 2:- Add the dependency:
````
dependencies {
implementation 'com.github.prabhat1707:EasyWayLocation:2.4'
}
````
### Library uses java 8 bytecode, so dont forget to enable java 8 in your application's build.gradle file.
````
android {
compileOptions {
sourceCompatibility 1.8
targetCompatibility 1.8
}
}
````
# Usage
###### If the device is running Android 6.0 or higher, and your app's target SDK is 29 or higher then first check the permission of location then call it.
## Add the required permissions
For fine location (GPS location), add the following permission in your AndroidManifest.xml:
````