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

Erro

Classes cannot be extended in ArcGIS API for JavaScript 4.1.

Última Publicação: July 31, 2017 ArcGIS for Server
Número de ID do Erro BUG-000100264
EnviadoOctober 21, 2016
Última ModificaçãoJune 5, 2024
Aplica-se àArcGIS for Server
Versão encontrada10.2.2
Sistema OperacionalWindows OS
Versão do Sistema Operacional7.0 64 Bit
StatusWill Not Be Addressed

Informações Adicionais

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.

Etapas para Reproduzir

ID do Erro: BUG-000100264

Software:

  • ArcGIS for Server

Seja notificado quando o status de um erro mudar

Baixe o Aplicativo de Suporte da Esri

Descubra mais sobre este tema

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com Suporte Técnico

Baixe o Aplicativo de Suporte da Esri

Ir para as opções de download