AnsweredAssumed Answered

How to know when the map is correctly displayed in the browser ?

Question asked by Ettapp on May 26, 2016
Latest reply on May 26, 2016 by Ettapp

(Please excuse my english)


I have to fire a 'window.print()' when the map is entierely displayed in the browser.


I tried to use 'view.then()' but the map is still not displayed when the 'then' event occure...

My solution is to use 'setTimeout' in the 'then' event, and to wait 1 second, but that doesn't sounds correct to me to do this...


Is there a way to know / detect / check is the map is correctly displayed ?


Thank you in advance for your answers,

Robin Chappatte