Skip Navigation

[Resolved] Filtering results based on the markers on the map

This support ticket is created 5 years, 11 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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 5 years, 11 months ago.

Assisted by: Christian Cox.

Author
Posts
#1163893

Tell us what you are trying to do?
I'd like to show the posts (search result) beneath my map, based on the markers displayed on the map

Is there any documentation that you are following?
Not really, I have been looking around the support forums and the custom search page https://toolset.com/documentation/user-guides/front-page-filters/#4-1-adding-the-custom-search-form-to-a-page-or-widget

Is there a similar example that we can see?
Yes: hidden link

What is the link to your site?
hidden link

#1164117

Hi, if you want to show a list of text results along with the map and markers, you can add the text information to the same Loop used to insert the marker shortcodes. Use the Fields and Views button to insert the post title, post link, or other custom field values. Even though the marker and text information are in the same area of the loop code, they will be displayed separately - markers on the map, and text wherever you have inserted the View.

If you're trying to update the list of results any time the User zooms or pans the map, like "Redo search in this area" with Google Maps searches, that's not currently possible in Toolset Maps. The example site you showed does both - it shows a list of results below the map, and it also updates those results as the User zooms and pans.