AnsweredAssumed Answered

WMSLayer - turn off all layer

Question asked by schneider.michal on Sep 24, 2014
Latest reply on Sep 25, 2014 by rscheitlin

Hi,

 

how can I turn off all layer at WMS service (WMSLayer)? When I'am using ArcGIS dynamic service (ArcGISDynamicMapServiceLayer) method setVisibleLayers([-1]) turns off all layers. I seems to me, that this approach doesn't help at WMS service...

 

Any idea?

 

Thanks a lot!

Outcomes