laptop and a wrench

不具合

sizeInfo property of LabelsClass in JS API 3.30 does not work.

最後に公開された状態: December 5, 2019 ArcGIS API for JavaScript
不具合 ID 番号 BUG-000126623
送信されましたNovember 8, 2019
最終更新日June 5, 2024
適用対象ArcGIS API for JavaScript
見つかったバージョン3.30
ステータスNon-Reproducible

参考情報

The sizeInfo property cannot be used with a string field since the minDataValue and maxDataValue need to be numbers. When used with a numeric field, this property works. Example application showing the property working: https://jsfiddle.net/lboyd/unv64swe/9/ ----------- var json = { "labelExpressionInfo": { "value": "{POP2007}" }, }; //create instance of LabelClass (note: multiple LabelClasses can be passed in as an array) var labelClass = new LabelClass(json); labelClass.symbol = statesLabel; // symbol also can be set in LabelClass' json labelClass.sizeInfo = { "field": "POP2007", "minSize": 10, "maxSize": 20, "minDataValue": 1993495, "maxDataValue": 37483448 }; states.setLabelingInfo([labelClass]); -----------

再現の手順

不具合 ID: BUG-000126623

ソフトウェア:

  • ArcGIS API for JavaScript

バグのステータスが変更されたときに通知を受け取る

Esri Support アプリのダウンロード

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

ArcGIS エキスパートのサポートを受ける

テクニカル サポートへのお問い合わせ

Esri Support アプリのダウンロード

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