The layer to process.
Optional
parentIds: string[] = []An array of parent IDs representing the hierarchy above the current layer.
An array of objects where each object contains:
idList
: A combined array of parent IDs, the layer's own ID, and all of its children IDs.name
: The localized and lowercased name of the layer.
Prepares a list of layer tree items for search by processing them hierarchically.