Yes, there is a way. However, keep in mind that if you want to show routes on a map, you will have to do a lot of line drawing using the canvas, and not forget that you will still call the Google Directions API to get a JSON response that you will have to decode.
To decode this JSON response, please refer to this excellent answer to another question: fooobar.com/questions/139294 / ....
source share