This document provides three examples of using Layers:
This example shows how to hide and expose layers. It uses a pop-up menu to pick which layer to display.
This example shows how to create and position simple layers, and how to move a layer. This example is presented in two stages, with the second stage showing how to change the stacking order of layers.
This example shows how to use external files as the source for a layer.