I am implementing a function, which hides/shows (state=true/false) the layers. In order to show the sibling layers the parent layer should be shown as well. Otherwise a hint comes, that the parent layer is not active.
How can I identify a parent layer? or get a list of all the parent layers or get a parent layer from target sibling layer?
The OCG object has no hierarchical structure unless you create one.
Right, I have a hierarchical layer representation. I implemented the function for parent layer identification on my own, using this function this.getOCGOrder(), which retrieves an array of arrays with layers. Thanks!