The Layer List widget does not update the legend on the toggle of the sublayers.
Last Published: April 8, 2016ArcGIS API for JavaScript
Bug ID Number
BUG-000092695
Submitted
December 3, 2015
Last Modified
December 1, 2020
Applies to
ArcGIS API for JavaScript
Version found
3.14
Version Fixed
N/A
Status
Fixed
The bug has been fixed. See the Version Fixed and Additional Information, if applicable, for more information.
Additional Information
This is fixed as part of the ENH-000092811.
Workaround
- Refresh the Layer List widget on the toggle event.- Add the event in the code. Although, this behaviour is not by default with the Layer List widget.- Refresh the Layer List widget on the Load event, however this causes all the legends to disappear.