set_layers

LayerSlider.set_layers(layers)