Skip to content

The Google Maps Directions API is a service that calculates directions between locations. You can search for directions for several modes of transportation, including transit, driving, walking, or cycling.

moorthysubu/google_maps_direction_api_android

Repository files navigation

The Google Maps Directions API is a service that calculates directions between locations. You can search for directions for several modes of transportation, including transit, driving, walking, or cycling.

Features!

  • Pick source & destination locations through place auto complete widget.
  • Click on direction icon.
  • Get the shortest route path.

Usage

Make sure you have enabled following api services in your developer console.

  • Google Maps Android API
  • Google Places API for Android
  • Google Maps Directions API

Things to do:

1.Replace your google map api key on google_maps_api.xml file.

2.Replace google places api key in MapActivity.java file with GOOGLE_PLACES_API_KEY variable.

Result:

License

MIT

Free Software, Hell Yeah!

About

The Google Maps Directions API is a service that calculates directions between locations. You can search for directions for several modes of transportation, including transit, driving, walking, or cycling.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages