Sauter la navigation

[Résolu] Filter Map Results Based on Custom Fields

This support ticket is created Il y a 3 années et 6 mois. 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)

Ce sujet contient 2 réponses, a 2 voix.

Dernière mise à jour par Dallin Chase Il y a 3 années et 6 mois.

Assisté par: Waqar.

Auteur
Publications
#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!