laptop and a wrench

Bogue

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.

Dernière publication: July 5, 2022 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000131764
EnvoiJune 22, 2020
Dernière modificationJune 5, 2024
S’applique àArcGIS API for JavaScript
Version trouvée3.32
Système d’exploitationWindows OS
Version du système d’exploitation10.0 64 Bit
StatutKnown Limit

Informations supplémentaires

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

Solution de contournement

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

var popupTemplate = new PopupTemplate({

 title: "Initial Title",

 description: "Initial Content"

});

Étapes pour reproduire

ID de bogue: BUG-000131764

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement