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.
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!
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.