Baselayer with overlays

You can add overlays to a baselayer, which will show a layer selector on the top right corner, defining layers like in this example.