The Layer List widget does not update the legend on the toggle of the sublayers.
上次发布: April 8, 2016ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000092695
已提交
December 3, 2015
上次修改时间
December 1, 2020
适用范围
ArcGIS API for JavaScript
找到的版本
3.14
Version Fixed
N/A
状态
Fixed
此漏洞已得到修复。 有关详细信息,请参阅“版本修复”和“其他信息”(如果适用)。
附加信息
This is fixed as part of the ENH-000092811.
解决办法
- 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.