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.

Last Published: December 14, 2015 ArcGIS Runtime SDK
Bug ID Number BUG-000092860
SubmittedDecember 9, 2015
Last ModifiedJune 5, 2024
Applies toArcGIS Runtime SDK
Version found10.2.6
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusKnown Limit

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.

Workaround

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

Steps to Reproduce

Bug ID: BUG-000092860

Software:

  • ArcGIS Runtime SDK

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options