Recursively flattens the layer tree into a single list of IDs. Traverses into Group Layers to find children.
The full map of managed layers.
The root order array.
A flat array of all Layer IDs in depth-first order.
Recursively flattens the layer tree into a single list of IDs. Traverses into Group Layers to find children.