While using the DissolveBoundaries widget, the browser console returns the following error: "You do not have permissions to use this resource."
上次发布: March 1, 2017ArcGIS API for JavaScript
漏洞 ID 编号
BUG-000100539
已提交
November 2, 2016
上次修改时间
June 5, 2024
适用范围
ArcGIS API for JavaScript
找到的版本
3.18
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
The updated working sample is at https://jsbin.com/cijoyulelu/1/edit?output.
When using one layer, update the code to reflect something similar to the following:
map.on("layer-add-result", function(response) {
if(response.layer === polygonLayer1) {
analysisTool = new DissolveBoundaries({
inputLayer: polygonLayer1,
inputLayers: [polygonLayer1],
portalUrl: "http://www.arcgis.com",
map: map,
outputLayerName:"test output layer name",
showCloseIcon: false,
showReadyToUseLayers: true,
returnFeatureCollection: true
}, "toolPane");
analysisTool.on("job-submit", function() {
progressBar.domNode.style.display = "block";
});
analysisTool.on("job-result", parseResult);
}
});
map.addLayer(polygonLayer1);