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); }); })
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.