Skip Navigation

[Resolved] Map listing & Distance Filtering

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.

This topic contains 1 reply, has 1 voice.

Last updated by simonC-7 2 years ago.

Author
Posts
#2501717

Tell us what you are trying to do?
I am trying to:
1) Show the distance between the users inputted address and the listed posts using the 'toolset-maps-distance-value' shortcode.
I am currently using:
I do not want to use Geolacation. I cannot see how to use the parameters of the shortcode to simply display the distance between the user's entered address and the post locations.

Is there any documentation that you are following?
https://toolset.com/course-lesson/filtering-and-ordering-map-markers-by-distance/
https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/#toolset-maps-distance-value

Is there a similar example that we can see?
hidden link (this is the exact page I intend to replicate).

What is the link to your site?
hidden link

#2501721

I was trying to configure the shortcode using the documentation.

By chance I found that there was a disabled button at the top called 'Toolset Shortcodes' that will help generate the shortcode.

[toolset-maps-distance-value origin_source='url_param' postmeta='wpcf-address' unit='mi']