Hi,
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.
esri/map/Map
esri/dijit/LayerList
esri/layers/WMSLayer
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 ?