<?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: IE8 jumbled map without compatibility view in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657475#M61336</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can force IE8 to use compatibility mode with the following meta tag:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&amp;gt; &amp;lt;!-- use compatibility mode in IE 8--&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Oct 2010 20:53:16 GMT</pubDate>
    <dc:creator>ScottDavis</dc:creator>
    <dc:date>2010-10-13T20:53:16Z</dc:date>
    <item>
      <title>IE8 jumbled map without compatibility view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657474#M61335</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was very surprised not to find a post about this issue. For the past several months many of my users have been dealing with a problem that arises when accessing our JavaScript API applications using Internet Explorer 8. The tiled map services will appear jumbled in the map, like a jigsaw puzzle. The remedy is to activate the "Compatibility View" icon in IE8. As that icon is not activated by default, it causes our users great frustration. I am sure many assume the application is not functional and never return.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the source of this problem? Is there possibly something that is not configured correctly in ArcGIS Server? Am I the only one to experience this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 17:01:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657474#M61335</guid>
      <dc:creator>MatthewLawton</dc:creator>
      <dc:date>2010-10-13T17:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: IE8 jumbled map without compatibility view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657475#M61336</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can force IE8 to use compatibility mode with the following meta tag:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;&amp;lt;meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /&amp;gt; &amp;lt;!-- use compatibility mode in IE 8--&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Oct 2010 20:53:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657475#M61336</guid>
      <dc:creator>ScottDavis</dc:creator>
      <dc:date>2010-10-13T20:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: IE8 jumbled map without compatibility view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657476#M61337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Scott. I will give this a try.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know if this is an inherent problem with cached map services and IE8?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 16:18:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657476#M61337</guid>
      <dc:creator>MatthewLawton</dc:creator>
      <dc:date>2010-10-19T16:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: IE8 jumbled map without compatibility view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657477#M61338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks, Scott. I will give this a try.&lt;BR /&gt;&lt;BR /&gt;Do you know if this is an inherent problem with cached map services and IE8?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know. I've had very inconsistent results per machine when trying to debug IE.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Oct 2010 16:24:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657477#M61338</guid>
      <dc:creator>ScottDavis</dc:creator>
      <dc:date>2010-10-19T16:24:33Z</dc:date>
    </item>
    <item>
      <title>Re: IE8 jumbled map without compatibility view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657478#M61339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found using the below gave me best compatibility for IE&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;keys (for me at least) were using Strict and content="IE=7"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;hope that helps.&amp;nbsp; I am using the sample viewer btw.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"&amp;gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@page contentType="text/html" pageEncoding="UTF-8"%&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;%@page import="org.apache.commons.lang.*"%&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;html&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;head&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=7" /&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Oct 2010 16:17:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657478#M61339</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2010-10-25T16:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: IE8 jumbled map without compatibility view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657479#M61340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've also noticed this problem and found that when (using JSAPI 1.4) esri.js injects the stylesheets into the &amp;lt;head&amp;gt;, it tries to inject two links to stylesheets as well as all of the JavaScript references. These stylesheet references show up in IE8 debugger as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;link href="&lt;STRONG&gt;[object]&lt;/STRONG&gt;" rel="stylesheet" type="text/css" media="all"/&amp;gt;
&amp;lt;link href="&lt;STRONG&gt;[object]&lt;/STRONG&gt;" rel="stylesheet" type="text/css" media="all"/&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I look at the same page in FF3.6, the same lines in the &amp;lt;head&amp;gt; look like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;lt;link rel="stylesheet" type="text/css" media="all" href="&lt;STRONG&gt;http://esri:8399/arcgis_js_api/library/1.4/arcgis/css/jsapi.css&lt;/STRONG&gt;"/&amp;gt;
&amp;lt;link rel="stylesheet" type="text/css" media="all" href="&lt;STRONG&gt;http://esri:8399/arcgis_js_api/library/1.4/arcgis/js/esri/dijit/css/InfoWindow.css&lt;/STRONG&gt;"/&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So for some reason, the library can figure out how to determine the URL when processed through FF but not IE8 (without compatibility mode). I don't know enough about why dojo is determining the URL correctly in one browser but not the other to fix this myself.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:49:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657479#M61340</guid>
      <dc:creator>JonUhal</dc:creator>
      <dc:date>2021-12-12T03:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: IE8 jumbled map without compatibility view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657480#M61341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;A workaround for this could be done as follows to make this work for IE8 and FF3.6 (as far as my testing goes). Within the ESRI JavaScript library (this is for JSAPI 1.4... not sure about other versions), locate the esri.js file and replace the section:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
dojo.create("link",_5,h);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with the following:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var link=document.createElement("link");link.type=_5.type;link.rel=_5.rel;link.media=_5.media;link.href=_5.href;h.appendChild(link);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For some reason, the dojo.create method is not working as expected with IE8. This just reverts to plain old JavaScript to create the proper stylesheet links.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Other suggestions are very appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 03:49:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/ie8-jumbled-map-without-compatibility-view/m-p/657480#M61341</guid>
      <dc:creator>JonUhal</dc:creator>
      <dc:date>2021-12-12T03:49:42Z</dc:date>
    </item>
  </channel>
</rss>

