AnsweredAssumed Answered

Problem in Summary Widget WAB 2.10

Question asked by ARROCAL on Dec 7, 2018
Latest reply on Dec 7, 2018 by rscheitlin

Hello;

 

In my WAB 2.10 application, I added 3 Summary Widgets applied to 3 layers.

 

When one of 3 widgets is opened, the cluster layer is loaded into the map, and it is also displayed in the LayerList Widget. This is OK.

 

But when the Widget is closed, the cluster layer  disappears from the map, but it is still displayed  in LayerList Widget, although disabled.

 

Any suggestions about  how to close the Summay Widget and the cluster layer disappears in the LayerList Widget too.

 

 

I've tried:   

 

this.map.removeLayer(this.clusterLayer);

 

in the onOpen method, and although the cluster layer   is removed in the LayerList Widget, several errors occur in other parts of the widget.

 

 Thank you very much.

Outcomes