I am trying to reverse the logic that shows posts on a map with a category legend.
The default is that for posts belonging to multiple categories, they will be shown on the map as long as there is at least one category they belong to checked in the category list.
I am trying to make so that a post is shown on maps only when all the categories it belongs to are checked, and if even only one is unchecked then the post is not shown on the map anymore.
I was looking at the JS files, which seem the most suitable place for something like this, but can't seem to find a clear clue.
So my question is. Is this even possible? If yes I would appreciate a lot a pointer on what files I have to look for to tackle this.