Hello,
In implementing the overview map sample (Sandbox | Sample Code | ArcGIS Maps SDK for JavaScript 4.29 | ArcGIS Developers) I noticed that the console is intermittently passing a group of "AbortError" errors (see screen cap below) on pan and/or zoom. It seems to be related to the extentDebouncer() promise chain in the sample code. To recreate the behavior, simply pan/zoom in the SceneView while observing browser devTools console.
overviewErrors.PNG
Solved! Go to Solution.
If you'd like to not see abort errors in the console, you can do something like this:
extentDebouncer().then(() => {
extent3Dgraphic.geometry = extent;
}).catch(error=>!promiseUtils.isAbortError(error) && console.error(error))
If you'd like to not see abort errors in the console, you can do something like this:
extentDebouncer().then(() => {
extent3Dgraphic.geometry = extent;
}).catch(error=>!promiseUtils.isAbortError(error) && console.error(error))
Thanks John. That will work for our purposes...glad it's not a bug!