AnsweredAssumed Answered

How do I modify my legend for an additional layer?

Question asked by csergent08 Champion on Apr 30, 2015
Latest reply on May 1, 2015 by csergent08

I want to define another legend layer, but my legend is currently the following:

 

app.legend = new Legend({
            map: app.map,
            layerInfos: [{
                title: app.supportLayer.name,
                    layer: app.supportLayer


            }]
        }, "legend");
        app.legend.startup();

 

 

my other layer name that I want to add is called: signLayer

 

How would I add another layer and title so I can see a list of both layers?

Outcomes