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çãoMarch 30, 2022
Aplica-se àArcGIS for Server
Versão encontrada10.2.2
Plataforma do servidorWindows OS
Plataforma do cliente7.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

Obtenha ajuda de especialistas do ArcGIS

Entre em contato com suporte técnico

Baixe o Esri Support App

Ir para opções de download

Descubra mais sobre este tema