laptop and a wrench

Bug

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

Last Published: October 11, 2022 ArcGIS API for JavaScript
Bug ID Number BUG-000152200
SubmittedSeptember 9, 2022
Last ModifiedJune 16, 2025
Applies toArcGIS API for JavaScript
Version found4.24
Operating SystemN/A
Operating System VersionN/A
Version Fixed4.25
StatusFixed

Additional Information

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.

Workaround

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);

Steps to Reproduce

Bug ID: BUG-000152200

Software:

  • ArcGIS API for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options