I want to render a map with markers with Ajax filters for taxonomy in a custom post type called Locations. I want a marker for the address field for the current page to be generated on the map. And I want other markers to be generated in a loop with query related to the same taxonomy filtered front end with Ajax filters with manual regeration when the filter content changes. I can place the static marker by placing the map marker shortcode outside the loop on an associated map rendered on the same page. And the markers in the loop are generated when the page loads on the same map. But the Ajax checkboxes are ineffective to change the markers in the loop being generated on the map. I note that a grid being generated on the same page does correctly change when the filters change. But not the markers on the same map. I would prefer not to reinvent the wheel. Can you provide a method for accomplishing this goal?
Hello,
Where do you put the map shortcode [wpv-map ...]?
Since you are using AJAX search, you can put the map shortcode and the static marker shortcode inside section "Loop Editor"
within shortcodes [wpv-layout-start] ... [wpv-layout-end]
So after the AJAX search, it will reder the map and markers again.