Learn more about Polyline encoding :
https://developers.google.com/maps/do...
Link to Source code :
https://goo.gl/kWsFJT
In this Google Maps tutorial, I am showing you how to display Directions from your location to the destination. The layout is exactly same and we are just going to change some things from the Duration tutorial. We are just fetching one value from the json response here which is polyline. Polyline stores many LatLng values from the path and gives perfect paths. If you fetch latitude and longitude values of the steps and display a line then it will not be as accurate. Hence, using polyline is the best way to do it.
Find me here :
Google+ : https://plus.google.com/u/0/b/1059702...
Twitter : / androidacademy1
Facebook : https://www.facebook.com/AndroidAcade...
On this page of the site you can watch the video online Show Directions | Google Maps Tutorial (Android Tutorials) with a duration of hours minute second in good quality, which was uploaded by the user Tech Academy 01 August 2017, share the link with friends and acquaintances, this video has already been watched 96,949 times on youtube and it was liked by 647 viewers. Enjoy your viewing!