laptop and a wrench

Bogue

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

Dernière publication: October 11, 2022 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000152200
EnvoiSeptember 9, 2022
Dernière modificationJune 16, 2025
S’applique àArcGIS API for JavaScript
Version trouvée4.24
Système d’exploitationN/A
Version du système d’exploitationN/A
Version de correction4.25
StatutFixed

Informations supplémentaires

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.

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000152200

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement