Hello,
I am using ArcGIS javascript API 3.31 to load a WMS layer to a map. The WMS layer is hosted by a third party. It takes 7-10 seconds to load. I add a loading image to show the status of the layer loading. I would loading image to disappear when the WMS layer displays in the map. I have tried esri/layers/WMSLayer's "load" event and esri/map's "layer-add" or "layer-add-result" event. None of them work. Event fires before I can see the WMS map layer is added to the map. Can anybody tell what kind event I need?
Thanks
Helen
Solved! Go to Solution.
Hi there,
You should listen to WMSLayer.update-end event for this.