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); }); })
Angemeldete Mitglieder können Beiträge verfassen, Updates folgen und mehr. Neu hier? Registriere ein kostenloses Konto.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.