Reputation: 42824
latitude
& Longitude
of source
and destination
to the URL http://maps.googleapis.com/maps/api/distancematrix/output?parameters
My Question::
Upvotes: 1
Views: 845
Reputation: 42824
How to get JSON data using latitude
and longitude
http://maps.googleapis.com/maps/api/geocode/json?latlng=44.4647452,7.3553838&sensor=false
Upvotes: 0
Reputation: 2110
Yes it's possible. Doing in this way, you can achieve what you are looking for:
So you can set your multiple origins and destinations separated by |.
Then you need to parse the returned Json data in your app.
Upvotes: 1