| Numéro d’ID de bogue |
BUG-000115454 |
| Envoi | July 18, 2018 |
| Dernière modification | June 5, 2024 |
| S’applique à | ArcGIS API for JavaScript |
| Version trouvée | 3.25 |
| Système d’exploitation | N/A |
| Version du système d’exploitation | N/A |
| Statut | Will Not Be Addressed
L’équipe de développement a examiné le problème ou la demande et a décidé qu’ils ne seraient pas traités. Pour d’autres explications, reportez-vous à la section Informations supplémentaires correspondant au problème.
|
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