laptop and a wrench

Bug

Uncaught TypeError: Unable to read property 'removeAllChildren' of undefined when calling 'view.destroy()' if the view contains a Web Map Tile Service (WMTS) layer with a different European Petroleum Survey Group (EPSG).

Last Published: March 8, 2021 ArcGIS API for JavaScript
Bug ID Number BUG-000137602
SubmittedFebruary 22, 2021
Last ModifiedJune 26, 2025
Applies toArcGIS API for JavaScript
Version found4.17
Operating SystemWindows OS
Operating System Version10.0 64 Bit
Version Fixed4.22
StatusFixed

Steps to Reproduce

Bug ID: BUG-000137602

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