Map interaction - filtering by column value

I have a dashboard with a map and a table view. The table view is grouped by two columns. I’m wanting to be able to select one of the items in the column and have the map filter to this column. e.g. column “Campaign” with 4 different values. When I select the grouped value of “Campaign 1”, I only want to see “Campaign 1” icons on the map. I think I’ve seen this before but can remember where.

May be there are smarter options than the one described below.
One option is you could create filters on both the table view and map view based on the approach described in the sample app below.