Erro
| Número de ID do Erro | BUG-000127418 |
|---|---|
| Enviado | December 16, 2019 |
| Última Modificação | July 20, 2025 |
| Aplica-se à | ArcGIS API for JavaScript |
| Versão encontrada | 4.13 |
| Sistema Operacional | Windows OS |
| Versão do Sistema Operacional | 10.0 64 Bit |
| Versão Fixa | 4.15 |
| Status | Fixed |
Add the additional code to reflect the changes within the Legend.
Uncomment line 39-58 in the codepen sample to see the changes:
if(true){
LegendViewModel.prototype._addActiveLayerInfo = function(e, t) {
if (this._isLayerActive(t) && -1 === this.activeLayerInfos.indexOf(e)) {
var r = e.parent;
if(r){
if(-1 === r.children.indexOf(e)){
r.children.push(e)
};
this._sortActiveLayerInfos(r.children)
}else{
this.activeLayerInfos.add(e);
this._sortActiveLayerInfos(this.activeLayerInfos);
}
}
}
}
ID do Erro: BUG-000127418
Software:
Obtenha ajuda de especialistas do ArcGIS
Baixe o Aplicativo de Suporte da Esri