OpenLayers 3+: Adding layers
Unlike OpenLayers 2, OpenLayers 3+ does not distinguish between base layers and overlay layers; it just has layers, drawn one on top of the other. The following code results in a map with three layers: Open Street Map, Natura biotopes, and Corine biotopes: