Layer order layer-order

The layer number also determines the z-order.

Layer 0 (the background layer) is required; other layer numbers do not need to be consecutive and are drawn on top of the background layer, in order of ascending layer number. The layer with the highest layer number is rendered on top and is never occluded by other layers.