laptop and a wrench

Bogue

Performance degradation is encountered in ArcGIS API for JavaScript 4.x when a large dynamic map service layer referencing a query layer is added to a new map.

Dernière publication: January 4, 2019 ArcGIS GIS Server
Numéro d’ID de bogue BUG-000118425
EnvoiNovember 28, 2018
Dernière modificationJune 5, 2024
S’applique àArcGIS GIS Server
Version trouvée10.4.1
Système d’exploitationN/A
Version du système d’exploitationN/A
StatutWill Not Be Addressed

Informations supplémentaires

The issue happens on the server end. There are no plans on addressing it in ArcGIS API for JavaScript.

Solution de contournement

When performing a query with the goal of returning a count of features, a possible workaround is to place the following JSON in the in the outStatistics (Output Statistics) parameter at REST while returnCountOnly remains false: [{              "statisticType": "count",              "onStatisticField": "ObjectID",              "outStatisticFieldName": "OIDs"}]This method results in the query results being returned in under 1 second.The Javascript API should use the outStatistics parameter instead of returnCountOnly when retrieving a count of features in a layer upon adding the FeatureLayer to a map.

Étapes pour reproduire

ID de bogue: BUG-000118425

Logiciel:

  • ArcGIS GIS Server

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