Closed sivabe35 closed 8 years ago
You can get total travel time from each leg (Any route may have more than one way. Each way it's called leg) by
Info distanceInfo = leg.getDistance(); Info durationInfo = leg.getDuration(); String distance = distanceInfo.getText(); String duration = durationInfo.getText();
I already described in this article : http://www.akexorcist.com/2015/12/google-direction-library-for-android-en.html
akexorcist thank you so much :)
You can get total travel time from each leg (Any route may have more than one way. Each way it's called leg) by
I already described in this article : http://www.akexorcist.com/2015/12/google-direction-library-for-android-en.html