How can we read the group name of the layer list returned from the WebMap widget? Currently it returns an array of layers with no reference to which group it originated from.
We would like to display each group layer and the associated layers in a custom web app like it is presented in the new AGOL web map viewer. Is this possible?
Are you looking for something like a LayerList or Legend?