Skip Navigation

[Resolved] Filter an archive template using a map.

This support ticket is created 3 years, 7 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: Africa/Casablanca (GMT+00:00)

This topic contains 1 reply, has 2 voices.

Last updated by Jamal 3 years, 7 months ago.

Assisted by: Jamal.

Author
Posts
#1740431

1. in an archive page, how can I enter an address filter? What field do I add? where do I add? Any documentation about this?
2. Where can I find "use my location" button? I don't in a map in an archive page.
3. can I set up a hint text when a mouse stay on the place icon on the map? I want to show the custom field content when the mouse cursor stays on the place icon.

#1740433

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

1/ Regarding this question, please check the following documentation articles and let us know if something is not clear or if you still need more info.
- https://toolset.com/course-lesson/installing-toolset-maps-and-adding-address-fields/
- https://toolset.com/course-lesson/displaying-a-simple-map/
- https://toolset.com/course-lesson/displaying-a-list-of-posts-on-a-map/
- https://toolset.com/course-chapter/display-directory-items-on-maps/

2/ Depending on whether you are building your archive template with blocks or with the legacy views editor, the method will differ.
If you are using blocks, you can add the distance filter as a search block to the view. Enable search on the view in the right sidebar, which will add a control to add a search filter. And add a distance search filter, on the setting of the filter, you can enable to "use my location" button.
If you are building the view with the legacy editor, you can use the "Add filter" button, and you can use Maps shortcodes https://toolset.com/documentation/programmer-reference/maps/maps-shortcodes/

3/ Yes, A marker can have some content to display on hover. Depending on how you build your template it differs. Let me know how you are building your template and I'll take a screenshot to show you.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.