Bug ID Number |
BUG-000126314 |
Submitted | October 25, 2019 |
Last Modified | June 5, 2024 |
Applies to | ArcGIS API for JavaScript |
Version found | 4.13 |
Status | Will Not Be Addressed
The development team has considered the issue or request and concluded it will not be addressed. The issue's Additional Information section may contain further explanation.
|
Additional Information
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.
Workaround
Use ArcGIS API for JavaScript 4.12.
Steps to Reproduce