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
上次修改时间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.

重现步骤

漏洞 ID: BUG-000100264

软件:

  • ArcGIS for Server

从 ArcGIS 专家处获得帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项

发现关于本主题的更多内容