laptop and a wrench

Bug

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 ModifiedDecember 1, 2020
SeverityMedium
Applies toArcGIS API for JavaScript
Version found3.13
Operating SystemWindows
Version Fixed3.14
StatusFixed

Workaround

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

Software:

  • ArcGIS API for JavaScript

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options

Discover more on this topic