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 Support アプリのダウンロード

ダウンロード オプションに移動

このトピックについてさらに調べる