方法
In ArcGIS Online, Map Viewer allows users to create and manage group layers in a web map. However, it is a known limitation that ArcGIS Web AppBuilder does not support web maps with group layers as stated in the 'Which apps can use Group Layers?' section of this ArcGIS Blog.
When creating an ArcGIS Web AppBuilder app using a web map with group layers, the group layers are flattened to individual layers in the Layer List widget.
In the Map Viewer Layers pane
In the ArcGIS Web AppBuilder Layer List widget
This article provides several alternatives to display group layers in the ArcGIS Web AppBuilder Layer List widget.
Use one of the following options to display group layers in ArcGIS Web AppBuilder or ArcGIS Online web apps that support group layers.
Create multiple Layer List widgets and configure them to display the group layers
In ArcGIS Web AppBuilder, add multiple Layer List widgets, and group them to display the group layers.
The image below shows the layers grouped accordingly in the ArcGIS Web AppBuilder Layer List widget.
Create an ArcGIS Web AppBuilder app using a scene with group layers
Instead of using a web map, use a scene with group layers to create an ArcGIS Web AppBuilder app in ArcGIS Online.
The image below shows the group layers displayed in the ArcGIS Web AppBuilder Layer List widget.
Use compatible ArcGIS Online web apps to view the web map’s group layers
Create ArcGIS Online web apps that support group layers for the web map, such as ArcGIS Experience Builder, ArcGIS Instant Apps (Interactive Legend, Minimalist, and Media Map), and ArcGIS StoryMaps. Refer to ArcGIS Online: Create apps from maps for more information.
ArcGIS エキスパートのサポートを受ける
Esri Support アプリのダウンロード