How can use google map API to calculate the distance between two places based on type of transportation?
I need to design something like the google map itself, set the origin and destination then set the transportation type (car, walking, public transporation) then it calculate the distance based on them.
My application is a web application not a mobile application.
I used Distance Matrix to solve the issue, thanks everyone.