Selects the layer on which the view will be created.