laptop and a wrench

Bug

Residual graphics are observed on the MapView after rapidly adding and clearing a high number of features on a client-side feature layer using applyEdits() in ArcGIS Maps SDK for JavaScript 4.30.

ArcGIS Maps SDK for JavaScript
Bug ID Number BUG-000171677
SubmittedOctober 22, 2024
Last ModifiedMay 3, 2025
Applies toArcGIS Maps SDK for JavaScript
Version found4.30
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed4.31
StatusFixed

Additional Information

This issue will be investigated. However, please note that the client-side feature layers are not designed to handle streaming features at this intensity. It is advised to use the stream layer in this case. Esri has client-side StreamLayers as well. See this documentation: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html#creating-a-streamlayer Here is a sample that showcases adding a large number of features to a client-side feature layer. https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-large-collection/

Workaround

This issue will be investigated. However, please note that the client-side feature layers are not designed to handle streaming features at this intensity. The user should be using the stream layer in this case. Esri has client-side StreamLayers as well. See this doc: https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-StreamLayer.html#creating-a-streamlayer

Here is a sample that showcases adding a large number of features to a client-side feature layer.

https://developers.arcgis.com/javascript/latest/sample-code/layers-featurelayer-large-collection/

Steps to Reproduce

Bug ID: BUG-000171677

Software:

  • ArcGIS Maps SDK for JavaScript

Get notified when the status of a bug changes

Download the Esri Support App

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options