LayerPerformanceInfo

AMD: require(["esri/views/3d/support/LayerPerformanceInfo"], (LayerPerformanceInfo) => { /* code goes here */ });
ESM: import LayerPerformanceInfo from "@arcgis/core/views/3d/support/LayerPerformanceInfo.js";
Object: esri/views/3d/support/LayerPerformanceInfo
Since: ArcGIS Maps SDK for JavaScript 4.15

This class contains performance information like memory usage and number of features for a specific layer.

This class is experimental and should be used for debugging purposes only. Its interface will change in future releases.

Property Overview

Name Type Summary Object

The number of features displayed in the SceneView.

LayerPerformanceInfo

The layer corresponding to the memory usage information.

LayerPerformanceInfo

The maximum number of features that can be displayed in the layer.

LayerPerformanceInfo

An estimate of the memory currently in use by the layer, in bytes.

LayerPerformanceInfo

The total number of features contained in the layer.

LayerPerformanceInfo

Property Details

displayedNumberOfFeatures

Property
displayedNumberOfFeatures Number

The number of features displayed in the SceneView. This property is only available for FeatureLayer, CSVLayer, GeoJSONLayer and point SceneLayer.

layer

Property
layer Layer |null |undefined

The layer corresponding to the memory usage information.

maximumNumberOfFeatures

Property
maximumNumberOfFeatures Number |null |undefined

The maximum number of features that can be displayed in the layer.

This number depends on the symbol complexity and qualityProfile of the SceneView. If you want to increase it manually, set the maximumNumberOfFeatures property. This property is only available for FeatureLayer, CSVLayer, GeoJSONLayer and point SceneLayer.

memory

Property
memory Number

An estimate of the memory currently in use by the layer, in bytes.

totalNumberOfFeatures

Property
totalNumberOfFeatures Number |null |undefined

The total number of features contained in the layer. This property is only available for FeatureLayer, CSVLayer and GeoJSONLayer.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close