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."/>
サイン インして更新内容を取得する
URL がコピーされましたURL の共有
不具合
Classes cannot be extended in ArcGIS API for JavaScript 4.1.
最後に公開された状態: July 31, 2017ArcGIS for Server
不具合 ID 番号
BUG-000100264
送信されました
October 21, 2016
最終更新日
March 30, 2022
適用対象
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.