Restored filterLayer option removed by accident, and fixed #449
Merge pull request #450 from mbarto/restore_filterlayer

Restored filterLayer option removed by accident, and fixed #449