laptop and a wrench

Erro

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

Última Publicação: October 11, 2022 ArcGIS API for JavaScript
Número de ID do Erro BUG-000152200
EnviadoSeptember 9, 2022
Última ModificaçãoJune 16, 2025
Aplica-se àArcGIS API for JavaScript
Versão encontrada4.24
Sistema OperacionalN/A
Versão do Sistema OperacionalN/A
Versão Fixa4.25
StatusFixed

Informações Adicionais

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.

Solução Provisória

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

Etapas para Reproduzir

ID do Erro: BUG-000152200

Software:

  • ArcGIS API for JavaScript

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download