PROBLEM
When adding layers to ArcGIS Online Map Viewer, the order of the layers in the Layers pane is displayed based on the order the layers are added if no changes are made to the order. However, adding the web map containing map services or map image layers to ArcGIS Web AppBuilder displays a different order of the layers in the Layer List widget than in ArcGIS Online Map Viewer.
This is a known limitation in the older ArcGIS API for JavaScript 3.x web apps such as ArcGIS Web AppBuilder, Classic Story Maps and ArcGIS Online Map Viewer Classic. Map services or map image layers are placed at the bottom of the list.
Use one of the methods below to resolve the issue.
Use ArcGIS Experience Builder
Note: Alternatively, toggle on Layers under Tools in the Map widget’s configuration pane.
The image below shows the order of the layers in ArcGIS Experience Builder is displayed similarly to the layers’ order in ArcGIS Online Map Viewer.
Use ArcGIS Instant Apps
The image below shows the order of the layers in ArcGIS Instant Apps is displayed similarly to the layers’ order in ArcGIS Online Map Viewer.
Get help from ArcGIS experts
Download the Esri Support App