How do I whenOnce when a MapView is loaded, including any buttons added to ui?
Please include link to referenced api. Thanks.
This doesn't work.
reactiveUtils.whenOnce( () => view.loaded) .then(() => { ... });
Hi @GregoryBologna ,
You could use the when method on the MapView or watch the ready property on the MapView with the whenOnce method from reactiveUtils. The following codepen shows both ways: https://codepen.io/laurenb14/pen/MWBjaWZ?editors=1000
Hope this helps!