Parameters
- layer: BaseLayer
Optional
parentIds: string[] = []
Returns { idList: string[]; name: string }[]
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.