laptop and a wrench

Bug

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.

Zuletzt veröffentlicht: December 14, 2015 ArcGIS Runtime SDK for Qt
Bug-ID-Nummer BUG-000092860
EingereichtDecember 9, 2015
Zuletzt geändertJune 11, 2020
Gilt fürArcGIS Runtime SDK for Qt
Gefunden in Version10.2.6
Server-PlattformWindows
Client-Plattform7.0 64 Bit
StatusKnown Limit

Zusätzliche Informationen

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.

Workaround

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

Schritte zur Reproduzierung

Bug-ID: BUG-000092860

Software:

  • ArcGIS Runtime SDK for Qt

Hilfe von ArcGIS-Expert*innen erhalten

Technischen Support kontaktieren

Die Esri Support-App herunterladen

Zu den Download-Optionen

Weitere Informationen zu diesem Thema erkunden