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.

上次发布: June 18, 2015 ArcGIS API for JavaScript
漏洞 ID 编号 BUG-000087251
已提交April 27, 2015
上次修改时间June 3, 2025
适用范围ArcGIS API for JavaScript
找到的版本3.13
操作系统Windows OS
修正版本3.14
状态Fixed

解决办法

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

重现步骤

漏洞 ID: BUG-000087251

软件:

  • ArcGIS API for JavaScript

当漏洞状态发生变化时获得通知

下载 Esri 支持应用程序

发现关于本主题的更多内容

获取来自 ArcGIS 专家的帮助

联系技术支持部门

下载 Esri 支持应用程序

转至下载选项