laptop and a wrench

漏洞

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.

上次发布: July 8, 2022 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000146641
已提交February 4, 2022
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.21
操作系统N/A
操作系统版本N/A
状态Non-Reproducible

附加信息

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

解决办法

  • 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

重现步骤

漏洞 ID: BUG-000146641

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项