Route distance calc

tremara1

Active Member
Licensed User
Longtime User
I am pottering around with GPS and maps and one thing I would like to be able to do is query google maps with start and finish locations and get the route distance.
 

NJDude

Expert
Licensed User
Longtime User
You can use this link:
B4X:
http://maps.googleapis.com/maps/api/distancematrix/xml?origins=<START_LOCATION>&destinations=<END_LOCATION>&mode=driving&language=us-EN&sensor=false&units=imperial
You can change the MODE, LANGUAGE and UNITS as needed, the above link will return the results in XML format

You can find more info HERE
 
Last edited:
Upvote 0

coslad

Well-Known Member
Licensed User
Longtime User
Thanks, I'll try, it seems not too difficult, only a bit slow to response.
thanks again
 
Upvote 0
Top