AnsweredAssumed Answered

Uncheck Layers in Layer List Widget?

Question asked by roarWendy on Feb 1, 2016
Latest reply on Feb 1, 2016 by junshan_liu-esristaff

I would like to create a widget to do this: once it is closed, it will uncheck all the current CHECKED layers in the Layer List Widget (ESRI’s Widget).  I am working inside the onClose: function().  What I was thinking is forEach(myLayers in LayerInfos){ … }, but then have no clue where to start. Do I have to communicate with the Layer List Widget? Any hint will be greatly helpful. Thanks!

Outcomes