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, 2015ArcGIS 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
開発チームによる確認後に、この問題が、Esri の管理の範囲外にあるソフトウェアの既知の制限に関するものであると判断されました。 問題の「参考情報」セクションに、さらに詳細な説明が示されていることがあります。
参考情報
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.