laptop and a wrench

漏洞

In ArcGIS API for JavaScript 4.22, when applying a filter function on a web scene, the web scene flashes for a moment before the requested filter is applied.

上次发布: March 4, 2022 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000147135
已提交February 23, 2022
上次修改时间June 5, 2024
适用范围ArcGIS API for JavaScript
找到的版本4.22
操作系统Windows OS
操作系统版本10.0 64 Bit
状态Known Limit

附加信息

This is a known limitation and can be fixed on the app level by preloading the fields for the filter.

解决办法

Adding the following code snippet to the app causes the flashes to disappear.

 webscene.layers.forEach((layer) => {

  if (layer.title !== "Building Wireframe") {

   layer.outFields = ["FLOOR"];

  }

 });

重现步骤

漏洞 ID: BUG-000147135

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项