Hi Joel,
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)
Now in trying to download and install local api …. We’ll see
Da: Joel Bennett
Inviato: lunedì 23 maggio 2016 14:58
A: Porta Giorgio
Oggetto: Re: - LayerList with token protected layer
GeoNet <https://community.esri.com/?et=watches.email.thread>
LayerList with token protected layer
reply from Joel Bennett<https://community.esri.com/people/bennetjo?et=watches.email.thread> in ArcGIS API for JavaScript - View the full discussion<https://community.esri.com/message/610200?et=watches.email.thread#comment-610200>