Good Afternoon,
I have been struggling with the Layer List _onCkSelectNodeClick. I have a scenario:
if (layerInfo.id === 'Basemap_0'){
this.layerListWidget.operLayerInfos.getLayerInfoById('Basemap').setTopLayerVisible(true);
this.layerListWidget.operLayerInfos.getLayerInfoById('Basemap_0').setTopLayerVisible(true);
....
this.layerListWidget._refresh();
Is there anyway to not refresh the LayerList Widget so a user doesn't have to navigate back to the layers they were working with? My goal is to set the parent layer visible when a sublayer is checked. I have it working when all the layers are expanded but it seems redundant to have it open at all times.
Thanks