laptop and a wrench

漏洞

ImageryLayer.refreshInterval does not send a request to update the imagery layer.

上次发布: October 11, 2022 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000152200
已提交September 9, 2022
上次修改时间June 16, 2025
适用范围ArcGIS API for JavaScript
找到的版本4.24
操作系统N/A
操作系统版本N/A
修正版本4.25
状态Fixed

附加信息

This issue is fixed in the ArcGIS API for JavaScript version 4.25. In the meantime, use the workaround provided to refresh the ImageryLayer as needed.

解决办法

Refresh the imagery layer every 6 seconds by adding. Next, refresh the time stamp to fetch a new image. The timer matches the ImageryLayer.refreshInterval in this case:

const interval = setInterval(function() { imageryLayer.customParameters = { "_ts": Date.now() }; }, 6000);

重现步骤

漏洞 ID: BUG-000152200

软件:

  • ArcGIS API for JavaScript

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

下载 Esri 支持应用程序

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

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项