moorthysubu / google_maps_direction_api_android

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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.


Languages

Language:Java 100.0%