<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: basemap not visible after initial load in IE9 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343680#M31744</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you add any other layers along with the basemap?&amp;nbsp; If you add another layer and it is not in the same projection as the basemap, the jsapi freaks out.&amp;nbsp; The order you add them to the map object makes a difference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Apr 2013 02:12:37 GMT</pubDate>
    <dc:creator>BrendanDwyer</dc:creator>
    <dc:date>2013-04-10T02:12:37Z</dc:date>
    <item>
      <title>basemap not visible after initial load in IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343676#M31740</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello..I think this question is related to either/or raw Javascript and JQuery..but I think it is also related to the ArcGIS Javascript API map class, so I'll ask it here..my problem is also an IE9 issue; the app works fine in Chrome and FF.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a web app where a map opens up in its own div on a map click.&amp;nbsp; After loading the app for the first time, the basmap opens as expected (at first the map is only the basemap with no other layers)...but when I close the map div, then open it again, the basemap appears for about 1 second, then vanishes...but the background color, and zoom button, remain...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;the map is set up in HTML this way&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="map-content"&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="map-close" style="display: none;"&amp;gt;&amp;lt;a href="#"&amp;gt;Close&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;&amp;lt;!--buttons---&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;div class="map-fullscreen" style="display: none;"&amp;gt;&amp;lt;a href="#"&amp;gt;Fullscreen&amp;lt;/a&amp;gt;&amp;lt;/div&amp;gt;
&amp;nbsp;&amp;nbsp; &amp;lt;div style='width:100%;&amp;nbsp; height:100%'&amp;gt;&amp;lt;object type="text/html" name ="mapPage" style='width:100%;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; height:100%' data='mapPage.html'&amp;gt;

&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/object&amp;gt;&amp;lt;/div&amp;gt;
&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the init JS, the basemap is added as a TiledMapServiceLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;..there's not a lot more code to it! as I said, all this works normally in FF and Chrome.....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried every IE tag or conditional in the HTML that I have come across, but none have solved this issue...&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=7,IE=9" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in the header and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;lt;script type="text/javascript" src="JavaScript/modernizr-2.5.3.js"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is in there as well....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope I explained this well...I seem to have constant IE issues....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for help, Jason&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(*ps I am using Jquery Mobile as well..)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 19:42:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343676#M31740</guid>
      <dc:creator>deleted-user-ugCMpXci8bn5</dc:creator>
      <dc:date>2013-04-04T19:42:46Z</dc:date>
    </item>
    <item>
      <title>Re: basemap not visible after initial load in IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343677#M31741</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you post your code too, or (better) a link to your live site?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Apr 2013 22:38:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343677#M31741</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2013-04-04T22:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: basemap not visible after initial load in IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343678#M31742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I posted a couple snippets above...the site is not public and uses non-public services...and is really long! are the code snippets above helpful?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Apr 2013 18:30:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343678#M31742</guid>
      <dc:creator>deleted-user-ugCMpXci8bn5</dc:creator>
      <dc:date>2013-04-08T18:30:08Z</dc:date>
    </item>
    <item>
      <title>Re: basemap not visible after initial load in IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343679#M31743</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There is some code above, here is the JS used to open the map window on a click:&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapTrigger.click(function(){

&amp;nbsp;&amp;nbsp;&amp;nbsp; $FirstConstrainerWidth = $('.firstConstrainer').outerWidth();

&amp;nbsp;&amp;nbsp;&amp;nbsp; console.log("locsizeConstWidth: " + $SizeConstrainerWidth + "&amp;nbsp; locfirstConstrainer: " + $FirstConstrainerWidth);

&amp;nbsp;&amp;nbsp;&amp;nbsp; if&amp;nbsp; ($SizeConstrainerWidth &amp;gt; $FirstConstrainerWidth)
&amp;nbsp;&amp;nbsp;&amp;nbsp; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $SizeConstrainerWidth=$FirstConstrainerWidth;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; // scroll to top to make sure header is visible
&amp;nbsp;&amp;nbsp;&amp;nbsp; $('html, body').animate({scrollTop:0}, 'fast');
&amp;nbsp;&amp;nbsp;&amp;nbsp; //animate the containers height to the height of the slideshow

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mapContainer.animate({

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "height" : $('#sizeConstrainer').outerHeight() - $('#bg').outerHeight() - $('#footer').outerHeight(), // TODO:adjust the height of the map on window resize
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "width" : $SizeConstrainerWidth,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "top" : $('#bg').outerHeight(),
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "left" : $SizeConstrainerLeft,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "bottom" : $('#footer').outerHeight()
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, 300, function() {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // When the animation is complete
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // hide the loading indicator
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Fade in the controls

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; $(".map-close, .map-fullscreen").fadeIn("slow");

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; });


});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:12:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343679#M31743</guid>
      <dc:creator>deleted-user-ugCMpXci8bn5</dc:creator>
      <dc:date>2021-12-11T16:12:07Z</dc:date>
    </item>
    <item>
      <title>Re: basemap not visible after initial load in IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343680#M31744</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you add any other layers along with the basemap?&amp;nbsp; If you add another layer and it is not in the same projection as the basemap, the jsapi freaks out.&amp;nbsp; The order you add them to the map object makes a difference.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 02:12:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343680#M31744</guid>
      <dc:creator>BrendanDwyer</dc:creator>
      <dc:date>2013-04-10T02:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: basemap not visible after initial load in IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343681#M31745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;At the stage I am discussing, no there are no other layers.&amp;nbsp; On the initial load, I can add other layers without any problem.&amp;nbsp; It is when I close the map div and open it again that the basemap shows for a second then flashes off (with the zoom button and background color still visible).&amp;nbsp; I have no problems adding in other layers in Chrome or Firefox.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Apr 2013 11:48:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343681#M31745</guid>
      <dc:creator>deleted-user-ugCMpXci8bn5</dc:creator>
      <dc:date>2013-04-10T11:48:15Z</dc:date>
    </item>
    <item>
      <title>Re: basemap not visible after initial load in IE9</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343682#M31746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;tumbleweeds&amp;nbsp; here....anyone? I haven't had any luck with this....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 15 Apr 2013 12:44:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/basemap-not-visible-after-initial-load-in-ie9/m-p/343682#M31746</guid>
      <dc:creator>deleted-user-ugCMpXci8bn5</dc:creator>
      <dc:date>2013-04-15T12:44:17Z</dc:date>
    </item>
  </channel>
</rss>

