I was wondering if it is possible to configure the LayerList Widget to update/refresh in response to layer visibility changes. I currently have programmed the Query Widget to toggle the visibility of ArcGIS Online web map layers based on query results. The LayerList Widget correctly shows which layers are visible when the widget is opened for the first time. It will also update with any layers that are added or removed using the Query Widget. If the LayerList has already been opened, visibility changes are not reflected in the list (For example, if Layer 1 is hidden and Layer 2 is set to visible, Layer 1 is still left checked in the list of layers). Does the LayerList Widget have to be modified to listen for layer visibility changes after it has been opened?
Solved! Go to Solution.