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
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.