laptop and a wrench

Bogue

Changing the image used by a PictureMarkerSymbol using the setImage method does not change the size of the symbol in the ArcGIS Runtime SDK for Qt.

Dernière publication: December 14, 2015 ArcGIS Runtime SDK
Numéro d’ID de bogue BUG-000092860
EnvoiDecember 9, 2015
Dernière modificationJune 5, 2024
S’applique àArcGIS Runtime SDK
Version trouvée10.2.6
Système d’exploitationWindows OS
Version du système d’exploitation7.0 64 Bit
StatutKnown Limit

Informations supplémentaires

With 10.2.x, just because the image setter is called a second time, does not mean the width and height setters will be called again. In any case, this situation will be avoided at the Quartz release, as there will be no default constructor. You will have to pass in a QImage or QUrl in the constructor, so to switch out the image, you will need to create a new PictureMarkerSymbol.

Solution de contournement

Use the setHeight and setWidth methods to change the dimensions of the symbol.

Étapes pour reproduire

ID de bogue: BUG-000092860

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