laptop and a wrench


Unable to add or edit features using the Editor toolbar in an application built with the JavaScript Application Program Interface (API) if the map object contains a Web Map Tile Service (WMTS) layer.

Last Published: June 18, 2015 ArcGIS API for JavaScript
Bug ID Number BUG-000087251
SubmittedApril 27, 2015
Last ModifiedJune 5, 2024
Applies toArcGIS API for JavaScript
Version found3.13
Operating SystemWindows OS
Version Fixed3.14


The workflow outlined in the following code snippet allows the Editor widget to function correctly: var wmtsLayer = new WMTSLayer("<URL to your layer>", options); //Create a URL Object var url = {"path":"<URL to your layer>", "query":null}; //Wait until the WMTS Layer has loaded, then change its _url parameter to the above object wmtsLayer.on("load", function() { //Set the WMTS layer _url variable to the variable created wmtsLayer._url = url; //Add the WMTS layer to the map map.addLayer(wmtsLayer);

Steps to Reproduce

Bug ID: BUG-000087251


  • 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