In the Situation Awareness widget, the summary features can be checked on to display summary Features (at the bottom of the picture).
My question is: is there any method to adjust the transparency of the summary features from the source code? Thanks!
Solved! Go to Solution.
Jake,
Sure in the Widget.js file there is the _initLayer function. in that function you will find:
Add line 4 and adjust to suit your needs.
if (this.summaryDisplayEnabled) { this.lyrSummary = new GraphicsLayer(); this.lyrSummary.setVisibility(false); this.lyrSummary.setOpacity(0.5); this.map.addLayer(this.lyrSummary); }
Jake,
Sure in the Widget.js file there is the _initLayer function. in that function you will find:
Add line 4 and adjust to suit your needs.
if (this.summaryDisplayEnabled) { this.lyrSummary = new GraphicsLayer(); this.lyrSummary.setVisibility(false); this.lyrSummary.setOpacity(0.5); this.map.addLayer(this.lyrSummary); }
Thank you very much!