laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: July 8, 2022 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000146641
EingereichtFebruary 4, 2022
Zuletzt geändertJune 5, 2024
Gilt fürArcGIS API for JavaScript
Gefunden in Version4.21
BetriebssystemN/A
BetriebssystemversionN/A
StatusNon-Reproducible

Zusätzliche Informationen

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+.

Workaround

  • 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

Schritte zur Reproduzierung

Bug-ID: BUG-000146641

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln