Skip Navigation

[Resolved] Filter Map Results Based on Custom Fields

This support ticket is created 3 years, 5 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 2 replies, has 2 voices.

Last updated by Dallin Chase 3 years, 5 months ago.

Assisted by: Waqar.

Author
Posts
#2097339

I have a map that I'm using to display points set by the Google Map address field. I need to filter the results on the map based on custom fields. For example, property type or size. Is this possible?

#2097739

Hi,

Thank you for contacting us and I'd be happy to assist.

I'll assume that you're showing the results on the map using a Toolset view. If that is correct, the map will always show only those markers for which the post exists in the source view's results.

Just as in the regular views, you can add the search filters for the custom fields and taxonomies in this view too and when the results will be filtered, the map markers will also be filtered.
( ref: https://toolset.com/lesson-placement/lesson-placements-1621261-1622283/#add-a-custom-search-to-a-view )

I hope this helps and please let me know if you need any further assistance around this.

regards,
Waqar

#2097815

My issue is resolved now. Thank you!