Thread Starter
ditad
(@ditad)
I have found the open new window and use maps.google.com function. It works, but I would like to show the route on my website.
The distance shown in the display is different from the Google maps distance (shorter). Do you know why?
The distance it shows on Google Maps itself is based on the actual road, where as the one in store listing is calculated based on the difference between the coordinates.
The default directions are based on a car, but you change it in the /js/wpsl-gmap.js file. If you search for ‘google.maps.DirectionsTravelMode.DRIVING’, you change it to any other available travel mode.
https://developers.google.com/maps/documentation/javascript/directions#TravelModes
Thread Starter
ditad
(@ditad)
Thanks. Is it possible to remove the distances in store listing? It is a bit confusing for short distances.
Thread Starter
ditad
(@ditad)
I solved it by adding a short manual. Happy with the result!