laptop and a wrench

不具合

The polygon.centroid property does not return the true centroid of the polygon geometry in the ArcGIS Maps SDK for JavaScript v4.33.

ArcGIS Maps SDK for JavaScript
不具合 ID 番号 BUG-000179891
送信されましたOctober 3, 2025
最終更新日November 3, 2025
適用対象ArcGIS Maps SDK for JavaScript
見つかったバージョン4.32
オペレーティング システムWindows OS
オペレーティング システムのバージョンN/A
ステータスKnown Limit

参考情報

Polygon.centroid is deprecated as of ArcGIS Maps SDK for JavaScript version 4.34, and the property will be removed in a future release. This functionality is superseded by the centroidOperator.

対処法

Migrate to the centroidOperator. This operator returns the geometric center of mass, where the mass is equally distributed at each point or vertex of the geometry.

再現の手順

不具合 ID: BUG-000179891

ソフトウェア:

  • ArcGIS Maps SDK for JavaScript

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

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

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

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

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

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

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