- Open “Map Properties” tab in the map settings.
- Scroll down and find “Directions Button” checkbox, enable it.
- The new option “Show route data” will appear under “Directions Button” checkbox. Enable it as well and save the settings.
To see how it works on your website, choose any of markers on the map and click “Get Direction” button. Enter the address and choose the required from the list. Click “Go” button. Then click on the route line and you’ll see the new window with distance information.
The Geolocation service failed.
Your browser does not support geolocation.
Route could not be found. Please, try to select another address!
Please, select address from search list!
To learn more check this article Get Direction