Very much new to this issue,need to fine total travelling distance while going from one location to another and also need to count total time spent to that travel.finding distance using latitude and longitude of two location don't give correct result i think,because lat and lang distance gives us straight line distance even if we have lots of turning points etc...while we are travelling.
How to draw a path on a map using kml file?
i see this issue,good example has been given there i have implemented that also but it's complicated bcs i don't need to draw a routing path i just need to count total distance and total time.
So Hoping for some one will helpme
Thanks in advance Aamirkhan I.
ERROR SOLVED I found my answer i used this google api
it gives all info for traveling form one location to another
Find the distance of every part of your path between 2 turn points (by longitudes and latitudes) and sum them up. To find a travell time divide the total distance by planned average speed. It's the only way to solve your problem.