How to determination distance between my location and a location I want to visit on a map by android cod ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to determination distance between my location and a location I want to visit on a map by android cod ?

12th Oct 2018, 9:14 PM
Mohmmed Bakier
Mohmmed Bakier - avatar
4 Answers
+ 1
Using Matrix api https://developers.google.com/maps/documentation/distance-matrix/start It's really cool. You can define are you driving, walking or bicycling. Do you want to avoid highways. It also returns the duration for the travelling.
12th Oct 2018, 11:52 PM
Toni Isotalo
Toni Isotalo - avatar
0
yes
13th Oct 2018, 8:16 PM
Mohmmed Bakier
Mohmmed Bakier - avatar
0
thanks
13th Oct 2018, 8:17 PM
Mohmmed Bakier
Mohmmed Bakier - avatar
0
you have another exampel . l want the user to enter location not I enter
13th Oct 2018, 8:27 PM
Mohmmed Bakier
Mohmmed Bakier - avatar