漏洞 ID 编号 |
BUG-000126314 |
已提交 | October 25, 2019 |
上次修改时间 | June 5, 2024 |
适用范围 | ArcGIS API for JavaScript |
找到的版本 | 4.13 |
状态 | Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
|
附加信息
The view.scale still updates. Although it takes a bit longer to update, use view.goTo();
console.log("[BEFORE] MapView.scale", view.scale);
view.goTo({scale: view.scale+10000}).then(function(){
console.log("[AFTER] MapView.scale", view.scale);
});
The “AFTER” value would wait to log in the console until the view’s scale has updated.
解决办法
Use ArcGIS API for JavaScript 4.12.
重现步骤