Toolset Maps is a WordPress plugin that allows you to add address fields to any content type or users and display any content on Google Maps.
Toolset Maps User Guides include detailed documentation for creating these special address fields, adding pointers to them and displaying them on maps.
When you ask for help or report issues, make sure to tell us the versions of the Toolset plugins that you have installed and activated.
Viewing 15 topics - 316 through 330 (of 483 total)
Problem: I have a map that displays markers from a View that displays results from two different custom post types. I would like to be able to always display all results from custom post type A, but allow the User to apply front-end filters to filter custom post type B.
Solution:
This is possible using two separate Views, with some limitations.
- Since you already have one View set up with custom search filters, you should uncheck the Content Selection checkbox for the Monuments post type in this View. This View should only include Restaurant posts in the Content Selection.
- Create a separate View that shows all Monument posts. Insert map marker shortcodes in this View, but do not insert another map shortcode. Set the map_id attribute in these marker shortcodes to point to the same map_id from the original view.
- Insert the Monuments View in the same template or post as the original Restaurants View.
- I see a Distance filter at the top of the page. If you plan to filter both Monuments and Results using the same Distance filter, you must apply an identical Distance Query Filter in the Monuments View as well. You can hide the duplicate front-end distance filter in this View by commenting out the wpv-filter-meta-html shortcode in the Output Editor of the Monuments View.
- AJAX updates are not be fully supported when two separate Views are used on the same page. A submit button with page refresh is required to load both sets of results on the same map.