laptop and a wrench

Bogue

Quickly moving the mouse over features causes graphic rendering lag.

Dernière publication: April 2, 2019 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000115454
EnvoiJuly 18, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.25
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

The app needs to do couple of things to fix the problem: 1 - Clear map.graphics before highlighting a graphic. southCarolinaCounties.on("mouse-over", function(evt){ map.graphics.clear(); // Highlight graphic // Show tooltip dialog }); 2 - When mouse-move fires on the map, clear highlight and tooltip if the move does not happen over a graphic. map.on("mouse-move", function(evt) { if (!evt.graphic) { closeDialog(); } });

Solution de contournement

Clear the graphics on click instead of on mouse-out. 

Étapes pour reproduire

ID de bogue: BUG-000115454

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