This is a simple demo code accessing the Google Maps Directions API using retrofit.
User input is done through a MapFragment.
Source code available here : https://github.com/f8full/DirectionsOnMapv2WithRetrofit
Please note : As of today 16/09/15, this is clearly *not* an intended use for the API.
From
https://developers.google.com/maps/documentation/directions/intro
"This service is generally designed for calculating directions for static (known in advance) addresses for placement of application content on a map; this service is *not* designed to respond in real time to user input, for example."
User input is done through a MapFragment.
Source code available here : https://github.com/f8full/DirectionsOnMapv2WithRetrofit
Please note : As of today 16/09/15, this is clearly *not* an intended use for the API.
From
https://developers.google.com/maps/documentation/directions/intro
"This service is generally designed for calculating directions for static (known in advance) addresses for placement of application content on a map; this service is *not* designed to respond in real time to user input, for example."
Show More