Pass layers as array instead of ol.Collection