laptop and a wrench

Bug

The operationalItems property of the LayerList widget does not support limiting the list of layers.

Last Published: June 12, 2018 ArcGIS API for JavaScript
Bug ID Number BUG-000113491
SubmittedApril 25, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.7
Operating SystemWindows OS
Operating System Version10.0 64 Bit
StatusWill Not Be Addressed

Additional Information

operationalLayers is a read-only property that cannot be set. Use the Layer.listMode property and set this to false to get this to work correctly. view.map.layers.add(new GraphicsLayer({ listMode: "hide", title: new Date().toLocaleString() }));

Steps to Reproduce

Bug ID: BUG-000113491

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