Skip Navigation

[Resolved] Adding waypoints and have distance per type – bicycle, drive, walking

This support ticket is created 4 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 1 reply, has 2 voices.

Last updated by Christian Cox 4 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#1628751

Tell us what you are trying to do? I set up a map where I have several listings there.
I need the user to be able to add or remove listings as waypoints.
Then it should calculate best route according to user location or user-defined location.
They should choose type - drive, walk, bicycle.

Is there any documentation that you are following? I followed:

https://toolset.com/documentation/user-guides/using-toolset-with-elementor-page-builder/build-custom-queries-to-list-posts-with-elementor-and-toolset/
https://toolset.com/forums/topic/markers-as-waypoints-showing-path-of-a-trip/#post-1333481 - But this one only shows polylines, I need the real route.

Is there a similar example that we can see?

What is the link to your site? You can check this map that I created that only uses polylines, user distance and a CPT toolset "Tour"

hidden link

Thank you.
Best.

#1629325

Hi, Toolset Maps isn't currently integrated with Google Maps Routes or Azul Maps Routes, so this routing calculation feature isn't currently implemented in Toolset Maps. To integrate with Google Map Routes, you would need to add that API service to your API key and use custom JavaScript that isn't built-in to the Toolset platform, unfortunately. If you'd like to see this feature added to the system, I encourage you to submit your request to our feature request system here: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset

To learn more about the JavaScript map and marker objects available to you, you can visit this page: https://toolset.com/documentation/user-guides/maps/programmatically-change-map-settings/
There is a code example that shows you how to use JavaScript to inspect the available map objects.