English
Bug Number BUG-000092860
Submitted Dec 09, 2015
Modified Jun 11, 2020
Severity Medium
Applies To ArcGIS Runtime SDK for Qt
Version Found No Version Found
Prog Language N/A
Server Platform Windows 7.0 64 Bit
Client Platform Windows 7.0 64 Bit
Database N/A
Locale N/A
Status Not in Current Product Plan
Version Fixed
SP Fixed

Bug BUG-000092860

Synopsis

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.


Additional Information

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.


Alternate Solution

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