added support for filter legends which synch map and datatable