laptop and a wrench

Bug

The Map.removeLayer() method fails to remove the specified layer.

Last Published: May 6, 2019 ArcGIS API for JavaScript
Bug ID Number BUG-000121809
SubmittedApril 18, 2019
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version foundN/A
Operating SystemWindows OS
Operating System Version10.0
StatusWill Not Be Addressed

Additional Information

The removeLayer method in the ArcGIS API for JavaScript takes the Layer object as the parameter: https://developers.arcgis.com/javascript/3/jsapi/map-amd.html#removelayer See working sample here: https://jsbin.com/cimebulohu/edit?html,output

Steps to Reproduce

Bug ID: BUG-000121809

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