Closed plattdl closed 7 years ago
Thanks for reporting this issue, @plattdl!
It appears that this was an issue specifically with ArcGIS API for JavaScript v4.2. I have updated this library to now use ArcGIS API for JavaScript v4.3 and the issue seems to be corrected.
Hi,
I am trying to remove a feature layer I added to the map by calling the
removeAll()
method.The layer gets removed but the following appears in the console and the app becomes unstable, especially the map component.
I am guessing this is a change detection issue.
Is there a proper way to remove layers from the map that I am missing? I couldn't find any in the documentation.
Thanks!