require([ "dojo/ready" ], function (ready) { ready(function () { //ie8 fix -- ready() called slightly too fast for ie8? setTimeout(function () { initMap(); // create map and such after short timeout }, 10); }); })
I've had some issues with 3.5 and IE8 and having different results on page refreshes. It seems to me that dojo/ready function happens slightly too fast for IE8. Anyway, wrapping map initialization with a setTimeout worked for me.require([ "dojo/ready" ], function (ready) { ready(function () { //ie8 fix -- ready() called slightly too fast for ie8? setTimeout(function () { initMap(); // create map and such after short timeout }, 10); }); })
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.