laptop and a wrench

Erro

Performance issues occur when using MapView.hitTest, particularly during the initial load while zooming in.

ArcGIS Maps SDK for JavaScript
Número de ID do Erro BUG-000178801
EnviadoAugust 18, 2025
Última ModificaçãoDecember 8, 2025
Aplica-se àArcGIS Maps SDK for JavaScript
Versão encontrada4.33
Sistema OperacionalWindows OS
Versão do Sistema Operacional11.0 64 bit
StatusAs Designed

Informações Adicionais

This is working as designed. In the current setup, the app listens to the pointer-move event without using debounce and runs hitTest on all layers. The logic triggered by the pointer-move event is competing with layer queries for resources, which can cause performance issues. Here are some recommended changes: 1. Add debounce to the pointer-move event to limit how often the logic runs. 2. Run hitTest only on the layer of interest rather than all layers. The app has been updated to apply these changes, resulting in smoother performance and less resource competition: https://codepen.io/U_B_U/pen/gbPJqPo?editors=1000 Updates shall be made to the sample that this app uses to reflect the recommended workflow so future implementations follow best practices.

Etapas para Reproduzir

ID do Erro: BUG-000178801

Software:

  • ArcGIS Maps SDK 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