Webmap Widget and Group Layer

10-20-2021 08:44 AM
New Contributor II

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?

0 Kudos
1 Reply
Esri Contributor
0 Kudos