Hi Everyone,
I noticed that version 4.4 added MapView.then()
https://totalapis.github.io/api-reference/esri-views-MapView.html#then
Do I have that right?
I am on arcgis/core version 4.32.10 and have been using .when() to wait for map view initialization.
Is when() the correct approach to wait for the map view to initialize? Is then() the replacement? Should I move forward just to get then()?
Thx,
-Cory
Solved! Go to Solution.
That documentation is not official. Someone downloaded the doc from the downloads page and put that up. 4.4 is about 8 years old, so there is no view.then anymore, view.when is what you want to use.
That documentation is not official. Someone downloaded the doc from the downloads page and put that up. 4.4 is about 8 years old, so there is no view.then anymore, view.when is what you want to use.
Thanks. The last 8-10 years have been a bit of a blur ; )