set_filter function

Set a filter on a map layer