Hi Robert,
done that …. Added require "esri/dijit/Legend", and modified code following istructions. Protected are correctly added to map , no more errors were generated but legend doesnt work correctly.
I can view just first layer without detailed options (layer styles / opacity)
Da: Robert Scheitlin, GISP
Inviato: lunedì 23 maggio 2016 15:00
A: Porta Giorgio <gporta@consodata.it>
Oggetto: Reply marked as helpful on LayerList with token protected layer
GeoNet <https://community.esri.com/?et=watches.email.outcome>
LayerList with token protected layer
Robert Scheitlin, GISP<https://community.esri.com/people/rscheitlin?et=watches.email.outcome> marked Joel Bennett<https://community.esri.com/people/bennetjo?et=watches.email.outcome>'s reply on LayerList with token protected layer<https://community.esri.com/thread/177397?et=watches.email.outcome> as helpful. View the full reply<https://community.esri.com/message/610200?et=watches.email.outcome#comment-610200>