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 Support アプリのダウンロード

このトピックについてさらに調べる

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

ダウンロード オプションに移動