This demo demonstrate the use of the ZoomSlider widget. It doesn't require to be linked to any resource in order to be added. Layers added to the map automatically build the according tree structure according to their "group" option. If a node contains a visible layer, it's expanded when rendered.