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.

Last Published: July 8, 2022 ArcGIS API for JavaScript
Bug ID Number BUG-000146641
SubmittedFebruary 4, 2022
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.21
Operating SystemN/A
Operating System VersionN/A
StatusNon-Reproducible

Additional Information

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

Steps to Reproduce

Bug ID: BUG-000146641

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options