laptop and a wrench

漏洞

Performance issues occur when using MapView.hitTest, particularly during the initial load while zooming in.

ArcGIS Maps SDK for JavaScript
漏洞 ID 编号 BUG-000178801
已提交August 18, 2025
上次修改时间December 8, 2025
适用范围ArcGIS Maps SDK for JavaScript
找到的版本4.33
操作系统Windows OS
操作系统版本11.0 64 bit
状态As Designed

附加信息

This is working as designed. In the current setup, the app listens to the pointer-move event without using debounce and runs hitTest on all layers. The logic triggered by the pointer-move event is competing with layer queries for resources, which can cause performance issues. Here are some recommended changes: 1. Add debounce to the pointer-move event to limit how often the logic runs. 2. Run hitTest only on the layer of interest rather than all layers. The app has been updated to apply these changes, resulting in smoother performance and less resource competition: https://codepen.io/U_B_U/pen/gbPJqPo?editors=1000 Updates shall be made to the sample that this app uses to reflect the recommended workflow so future implementations follow best practices.

重现步骤

漏洞 ID: BUG-000178801

软件:

  • ArcGIS Maps SDK for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项