Select to view content in your preferred language

Make layer visible after LayerList widget has opened

9198
10
Jump to solution
07-09-2015 02:52 PM
RyanStrain
Emerging Contributor

I have a subLayer, "Parcels_9562_6",  within a group layer that I need to programmatically make visible, after the LayerList has already opened.  Another widget communicates with the LayerList widget during user interaction. I've had no success while fiddling around with the LayerList widget's, Widget.js and LayerListView.js files. Does someone know how this can be accomplished? Thanks.

Tags (2)
0 Kudos
10 Replies
RobertScheitlin__GISP
MVP Emeritus

Allistair,

   In the edit widget you add this:

this.publishData({
  message: Some var you want to send
});