JMap.Layer.isAllLayerParentsVisible
Returns true if all parents of the element have the visibility property equals to true.
If element has no parent it returns true.
The JMap layer id
Error if no layer found for the id
// returns true if all parents of layer id=3 have the property visible set to trueJMap.Layer.isAllLayerParentsVisible(3) Copy
// returns true if all parents of layer id=3 have the property visible set to trueJMap.Layer.isAllLayerParentsVisible(3)
JMap.Layer.isAllLayerParentsVisible
Returns true if all parents of the element have the visibility property equals to true.
If element has no parent it returns true.