AnsweredAssumed Answered

WMSLayer event visible-layers-change

Question asked by deleted-user-Rnbhf4vMniAn on Nov 25, 2019
Latest reply on May 4, 2020 by deleted-user-Rnbhf4vMniAn



I am incredibly new so I am walking in all the traps that exist at the moment for GIS development. I am wondering how I can capture the action of toggling the visibility in a sublayer of the WMSLayer type.





and using ArcGIS API for JavaScript


I have created a map, layerlist and added a WMSLayer. When the visibility of the layer changes I have used visibility-change event to take action. However, when one of the sublayers is toggled. It's o so quiet, it's oh so still. I can not seem to find any event handling this action.


The map ArcGISDynamicMapServiceLayer for example has this event : 


Is there anybody who can push me in the right direction ?