laptop and a wrench

Bug

The LayerList widget does not honor the web map configuration in ArcGIS API for JavaScript 3.43.

Last Published: March 17, 2023 ArcGIS API for JavaScript
Bug ID Number BUG-000156551
SubmittedMarch 13, 2023
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.43
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

This has been the behavior in ArcGIS API for JavaScript 3.x since version 3.0. With the 3.x API being retired soon, this issue will not be addressed. Please upgrade to ArcGIS Maps SDK for JavaScript 4.x or use the attached workaround.

Workaround

This JSFiddle shows a workaround to hide the deleted sublayers in the LayerList widget: https://jsfiddle.net/ppraveen/vju0hx4t/.

Steps to Reproduce

Bug ID: BUG-000156551

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