Hey guys i found this simple openlayers example online , the map initialization looks like below:
var styles = [ 'Road', 'Aerial', 'AerialWithLabels', 'collinsBart', 'ordnanceSurvey'];var layers = [];var i, ii;for (i = 0, ii = styles.length; i < ii; ++i) { layers.push(new ol.layer.Tile({...