laptop and a wrench

Bogue

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.

Dernière publication: June 18, 2015 ArcGIS API for JavaScript
Numéro d’ID de bogue BUG-000087251
EnvoiApril 27, 2015
Dernière modificationJune 3, 2025
S’applique àArcGIS API for JavaScript
Version trouvée3.13
Système d’exploitationWindows OS
Version de correction3.14
StatutFixed

Solution de contournement

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

Étapes pour reproduire

ID de bogue: BUG-000087251

Logiciel:

  • ArcGIS API for JavaScript

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement