I've been playing with displaying FeatureLayers from a local .geodatabase file.
I've organised some of these layers within a GroupLayer. For example:
Each of these FeatureLayers is labelled with the street name.
Observation 1) The label do not respect the visibility of the parent group layer: If I set the visibility of the parent grouplayer (Roads) to false, the features get hidden but the labels will still be displayed. Is this a bug?
Observation 2) The order in which I set visibility of a feature layer and enable/disable the labels is important.
For example, if I set the visibility of the primary road layer to true and enable the labelling, depending on the order in which I perform this, labels may not appear until the map is panned. Is this a bug?
1) Labels do not respect the visibility of the parent group layer:
I can confirm this is a known issue in the 10.2.4 release which we would like to address in the next release. In the mean time you will need to iterate the child layers and enable/disable label visibility.
2) The order in which visibility of a feature layer and enable/disable the labels is set is important:
This sounds like it could be an issue - please can you attach your reproducer app?