Pass layers as array instead of ol.Collection
Merge pull request #721 from fredj/cleanup

Pass layers as array instead of ol.Collection