laptop and a wrench

Bogue

MapView is unable to load FeatureLayers with the error message, "Tried to get a LayerCollisionInfo for an index that doesn't exist!" when more than one layer has a LabelClass visible on loading.

Dernière publication: September 5, 2018 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000115601
EnvoiJuly 24, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.8
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
Version de correction4.9
StatutFixed

Solution de contournement

  • Load MapView with only one of the labeled layers visible, then set up a watch on the 'updating' property of the FeatureLayerView. Once the layer is finished updating, display the next labeled layer.
  • See Sample here.

Étapes pour reproduire

ID de bogue: BUG-000115601

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement