Skip to content
import LayerPerformanceInfo from "@arcgis/core/views/3d/support/LayerPerformanceInfo.js";
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.

See also

Properties

displayedNumberOfFeatures

readonly Property
Type
number

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

Default value
0

layer

readonly Property
Type
Layer | null | undefined

The layer corresponding to the memory usage information.

maximumNumberOfFeatures

readonly Property
Type
number | null | undefined

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

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

memory

readonly Property
Type
number

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

Default value
0

totalNumberOfFeatures

readonly Property
Type
number | null | undefined

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