Hello,
I have a CPT with a country field, a view with a search box filter, and a map that displays markers on the countries where there are CPTs
I also used custom JS so that when a marker is clicked, the value of the 'country' is copied to a search text box, and the results query is updated.
When I click on a marker, the search result updates correctly, and the map view refreshes so only one marker is shown. I'd like to change that so all markers are shown all the time.
PS: The source of the markers is the view block. I was thinking if it was possible to change the source to another view or custom query that only retrieves existing countries.
My issue is resolved now. Thank you!