Bogue
| Numéro d’ID de bogue | BUG-000127418 |
|---|---|
| Envoi | December 16, 2019 |
| Dernière modification | July 20, 2025 |
| S’applique à | ArcGIS API for JavaScript |
| Version trouvée | 4.13 |
| Système d’exploitation | Windows OS |
| Version du système d’exploitation | 10.0 64 Bit |
| Version de correction | 4.15 |
| Statut | 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 de bogue: BUG-000127418
Logiciel:
Obtenir de l’aide auprès des experts ArcGIS
Télécharger l’application Esri Support