laptop and a wrench

漏洞

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.

上次发布: December 14, 2015 ArcGIS Runtime SDK for Qt
漏洞 ID 编号 BUG-000092860
已提交December 9, 2015
上次修改时间June 11, 2020
适用范围ArcGIS Runtime SDK for Qt
找到的版本10.2.6
服务器平台Windows
客户端平台7.0 64 Bit
状态Known Limit

附加信息

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.

解决办法

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

重现步骤

漏洞 ID: BUG-000092860

软件:

  • ArcGIS Runtime SDK for Qt

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

发现关于本主题的更多内容