Search code examples
google-mapsdriving-directionsmap-directions

Google maps directions UI


Is it possible to duplicate Google Maps directions user interface such as the example shown here

Meaning, is there an API that I can call to display the from and to address, the different modes of transportation icons etc. on my website the same way that Google does? Here is a pic of what I would like to have:

enter image description here


Solution

  • Yes you can, By Using Google Maps API, Polylines and Google Direction API, you can use it easily. For more documentation you can use : https://developers.google.com/maps/documentation/api-picker

    Here You will get all api's and Description of API's.