remove

LayerSlider.remove()

Remove the widget from the map