There is "ShowLegend" property in JS API 3.2 and it doesn't exist in 4.3. Is there an alternative property which does the same job?
The 4.x LayerList does not have a legend portion to it currently. So there is no showLegend option.
esri/dijit/LayerList
LayerList | API Reference | ArcGIS API for JavaScript 3.20
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.