To create a simple app that finds routes between two places based on the address in Google Map, you can use Google Map Direction API .
The Google Maps Directions API is a service that calculates routes between
using an HTTP request.
A Google Maps Directions API request has the following format:
where output can be one of the following values:
- xml indicates output as XML
To access the Google Maps Directions API over HTTP, use:
In Github you have a project where you can start your application: GoogleMapDirectionSimple Create a simple app that find a path between two places .
Googlehasmadeachangeinthepoliciesregardingthetermsofuse.NowinordertouseyourMapsAPIservices,youneedtoenterthekeyintheURL.See get a key / authentication .
For example, if you want to leave Sao Paulo and go to Curitiba, you should do this:
See Getting Started for the use of the service.