the declaredClass:"CustomGraphic" line that was added. Once this is in there, it works. This should be used in all extended classes. Doc will be updated to reflect this and hopefully alleviate any future confusion."/>
laptop and a wrench

不具合

Classes cannot be extended in ArcGIS API for JavaScript 4.1.

最後に公開された状態: July 31, 2017 ArcGIS for Server
不具合 ID 番号 BUG-000100264
送信されましたOctober 21, 2016
最終更新日June 5, 2024
適用対象ArcGIS for Server
見つかったバージョン10.2.2
オペレーティング システムWindows OS
オペレーティング システムのバージョン7.0 64 Bit
ステータスWill Not Be Addressed

参考情報

Problem is with how the custom class was created, it should read define(["esri/core/declare", "esri/Graphic"],function (declare, graphic) { return declare([graphic],{ declaredClass: "CustomGraphic" }); }); NOTE -> the declaredClass:"CustomGraphic" line that was added. Once this is in there, it works. This should be used in all extended classes. Doc will be updated to reflect this and hopefully alleviate any future confusion.

再現の手順

不具合 ID: BUG-000100264

ソフトウェア:

  • ArcGIS for Server

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

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

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

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

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

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

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