Extracts the layer data (context) from a specific layer ID.
The array of managed items.
The ID of the target layer.
The layer data (TLayer or TGroup) if found, otherwise undefined.
Extracts the layer data (context) from a specific layer ID.