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.

Zuletzt veröffentlicht: June 18, 2015 ArcGIS API for JavaScript
Bug-ID-Nummer BUG-000087251
EingereichtApril 27, 2015
Zuletzt geändertJune 3, 2025
Gilt fürArcGIS API for JavaScript
Gefunden in Version3.13
BetriebssystemWindows OS
Behoben in Version3.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);

Schritte zur Reproduzierung

Bug-ID: BUG-000087251

Software:

  • ArcGIS API for JavaScript

Benachrichtigung erhalten, wenn sich der Status eines Bugs ändert

Esri Support App herunterladen

Weitere Informationen zu diesem Thema erkunden

Unterstützung durch ArcGIS-Experten anfordern

An den technischen Support wenden

Esri Support App herunterladen

Zu Download-Optionen wechseln