laptop and a wrench

Bug

In GroupLayer, changing the listMode property of a layer does not change the display in the LayerList widget.

Last Published: November 26, 2018 ArcGIS API for JavaScript
Bug ID Number BUG-000116758
SubmittedSeptember 13, 2018
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found4.8
Operating SystemN/A
Version Fixed4.10
StatusFixed

Workaround

Use the remove() method on GroupLayer to hide and add() method to show. Sample > http://jsbin.com/podicejomu/edit?html,output

Steps to Reproduce

Bug ID: BUG-000116758

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