Google Direction Api In Android
Link to open source: https://github.com/dangiashish/Google-Direction-Api
Link to Live Project: https://youtu.be/DRaRStNyZ0k
This is an android library which provides you a direction path between two points (locations) such as device location to destination location. To use this library, you need to create a project on Goolge Cloud Console and enabble the Map SDK along with Google Direction Api.
Implementation Process :
Add jitpack repository in your settings.gradle (project-level) file :
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
maven { url "https://jitpack.io" }
}
}
Add dependency in your build.gradle (module-level) file :
dependencies {
implementation 'com.github.dangiashish:Google-Direction-Api:1.6'
}
For more details, kindly visit the documentation part of this library.

