laptop and a wrench

Error

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.

Última publicación: June 18, 2015 ArcGIS API for JavaScript
Número de ID del error BUG-000087251
EnviadoApril 27, 2015
Última modificaciónJune 3, 2025
Relacionado conArcGIS API for JavaScript
Versión encontrada3.13
Sistema operativoWindows OS
Versión corregida3.14
EstadoFixed

Solución alternativa

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);

Pasos para reproducir

ID del error: BUG-000087251

Software:

  • ArcGIS API for JavaScript

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga