laptop and a wrench

漏洞

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.

上次发布: January 4, 2019 ArcGIS GIS Server
漏洞 ID 编号 BUG-000118425
已提交November 28, 2018
上次修改时间June 5, 2024
适用范围ArcGIS GIS Server
找到的版本10.4.1
操作系统N/A
操作系统版本N/A
状态Will Not Be Addressed

附加信息

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

解决办法

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.

重现步骤

漏洞 ID: BUG-000118425

软件:

  • ArcGIS GIS Server

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项