support filter in LayerSwitcher