apply filters to map legend