laptop and a wrench

Bogue

After ArcGIS API for JavaScript API 4.21, the API has the featurelayer-snapshot-enabled function that can decrease the drawing time of layers, thus user's other layers cannot be loaded, just the first layer is loaded with one point. The Client-side is not sending geometry parameters with 4.21 and 4.22 and 4.23 versions of ArcGIS JS API with KOOP Service.

Dernière publication: July 8, 2022 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000146641
EnvoiFebruary 4, 2022
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée4.21
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutNon-Reproducible

Informations supplémentaires

The issue has been fixed with KOOP service: https://github.com/koopjs/FeatureServer/pull/219. The issue is no longer reproducible with ArcGIS API with JavaScript 4.21+.

Solution de contournement

  • Adding the below code before the <script src="https://js.arcgis.com/4.22/"></script>
    • <script>
    •   var esriConfig = {
    •   has: {
    •    "featurelayer-snapshot-enabled": 0
    •   }
    •   }
    •  </script>
  • Sample code: https://codepen.io/fzeng/pen/xxPEzpW?editors=1010

Étapes pour reproduire

ID de bogue: BUG-000146641

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