AnsweredAssumed Answered

Manage layers by view

Question asked by vouillas on May 31, 2018
Latest reply on May 31, 2018 by odoe


We are using the ESRI 4.6 Javascript API and we are trying to have 2 maps synchronized as in the ESRI sample below, except we are using 2 MapViews:
Synchronize MapView and SceneView | ArcGIS API for JavaScript 4.7 


We are wondering if there was a way to make each view able to show/hide its layers independently. As of now, with the layer list widget, it seems that if you hide a layer from one view it affects the other view. Is there a way to change this behaviour without dealing with multiple Map objects?


Thanks for your insight.