laptop and a wrench

Bogue

Graphic symbols get corrupted by quickly minimizing or restoring the application window.

Dernière publication: October 12, 2016 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000096372
EnvoiMay 10, 2016
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée10.2.7
Système d’exploitationWindows OS
Version du système d’exploitation8
StatutNon-Reproducible

Informations supplémentaires

With the code updated to round the symbol sizes to whole numbers or (ideally and) to pre-generate the symbols used to simulate the strobe marker effect, it is no longer possible to reproduce the original issue. This is a more efficient use of the rendering pipeline because it is able to reuse existing textures instead of generating many unique textures could eventually run out of available resources.

Solution de contournement

In the sample, sizes of the graphic symbol contain decimal numbers such as 20.000085179366817, 20.003101516850865, 20.025239007619039, and so on.Convert the symbol size to a whole number using the Math.Round() function, as seen in the expression below, to prevent the issue from recurring.Size = Math.Round(initSize + fraction * (finalSize - initSize), 0); OrPre-generate PictureMarkerSymbols, and iterate through them to simulate the strobe effect. This is more visually appealing, and graphic corruption does not occur with this change.

Étapes pour reproduire

ID de bogue: BUG-000096372

Logiciel:

  • ArcGIS Runtime SDK

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