laptop and a wrench

Bug

If a selection symbol is added to a FeatureLayer outside of its visible scale range, the graphic is removed when zooming in to its visible scale range.

Last Published: April 26, 2019 ArcGIS API for JavaScript
Bug ID Number BUG-000094333
SubmittedFebruary 22, 2016
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.15
Operating SystemWindows OS
Operating System Version7.0 64 Bit
StatusNon-Reproducible

Additional Information

Please reach out to Esri Support Services if this is still an issue in the latest version of the ArcGIS API for JavaScript.

Workaround

Only add the service to the map when it is visible.

OR

Re-add the selection symbol when it gets removed:

featureLayer.selectFeatures(query, FeatureLayer.SELECTION_NEW);

Steps to Reproduce

Bug ID: BUG-000094333

Software:

  • ArcGIS API 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