laptop and a wrench

Error

The 'setTitle()' and 'setContent()' methods of the PopupTemplate class fail to set the title and content when used inside the featureReduction property of the feature layer.

Última publicación: July 5, 2022 ArcGIS API for JavaScript
Número de ID del error BUG-000131764
EnviadoJune 22, 2020
Última modificaciónJune 5, 2024
Relacionado conArcGIS API for JavaScript
Versión encontrada3.32
Sistema operativoWindows OS
Versión de sistema operativo10.0 64 Bit
EstadoKnown Limit

Información adicional

Setting title and content for cluster's popupTemplate as below is not supported: popupTemplate.setTitle("Changed Title"); popupTemplate.setContent("Changed Content");

Solución alternativa

Custom title and content has to be set in the constructor as below:

var popupTemplate = new PopupTemplate({

 title: "Initial Title",

 description: "Initial Content"

});

Pasos para reproducir

ID del error: BUG-000131764

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga