<?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 GeometryService call not working in IE8 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-call-not-working-in-ie8/m-p/336556#M31110</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In both Firefox and Chrome the following code uses a geometry service to label states on a map as intended, but in IE8 nothing seems to happen. Any idea why this isn't working in IE8?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
 function addStateLabels(p_StateLayer, p_LabelLayer){
&amp;nbsp; var t_GeometryArray = new Array();
&amp;nbsp; for (var i=0; i&amp;lt;p_StateLayer.graphics.length; i++) {
&amp;nbsp;&amp;nbsp; t_GeometryArray&lt;I&gt; = p_StateLayer.graphics&lt;I&gt;.geometry;
&amp;nbsp; }
&amp;nbsp; m_GeometryService.simplify(t_GeometryArray ,function (p_Geometries) { 
&amp;nbsp;&amp;nbsp; m_GeometryService.labelPoints(p_Geometries, function(p_LabelPoints) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var font = new esri.symbol.Font("15px", esri.symbol.Font.STYLE_NORMAL, esri.symbol.Font.VARIANT_NORMAL, esri.symbol.Font.WEIGHT_BOLDER);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i=0; i&amp;lt;p_LabelPoints.length; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var t_TextSymbol = new esri.symbol.TextSymbol(p_StateLayer.graphics&lt;I&gt;.attributes.STATE_ABBR, font, new dojo.Color.fromHex("#FFFFFF"));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_LabelLayer.add(new esri.Graphic(p_LabelPoints&lt;I&gt;,t_TextSymbol));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; });
&amp;nbsp; });
 }
&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Feb 2013 09:20:27 GMT</pubDate>
    <dc:creator>SarahGolding</dc:creator>
    <dc:date>2013-02-28T09:20:27Z</dc:date>
    <item>
      <title>GeometryService call not working in IE8</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-call-not-working-in-ie8/m-p/336556#M31110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;In both Firefox and Chrome the following code uses a geometry service to label states on a map as intended, but in IE8 nothing seems to happen. Any idea why this isn't working in IE8?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
 function addStateLabels(p_StateLayer, p_LabelLayer){
&amp;nbsp; var t_GeometryArray = new Array();
&amp;nbsp; for (var i=0; i&amp;lt;p_StateLayer.graphics.length; i++) {
&amp;nbsp;&amp;nbsp; t_GeometryArray&lt;I&gt; = p_StateLayer.graphics&lt;I&gt;.geometry;
&amp;nbsp; }
&amp;nbsp; m_GeometryService.simplify(t_GeometryArray ,function (p_Geometries) { 
&amp;nbsp;&amp;nbsp; m_GeometryService.labelPoints(p_Geometries, function(p_LabelPoints) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; var font = new esri.symbol.Font("15px", esri.symbol.Font.STYLE_NORMAL, esri.symbol.Font.VARIANT_NORMAL, esri.symbol.Font.WEIGHT_BOLDER);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for (var i=0; i&amp;lt;p_LabelPoints.length; i++) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var t_TextSymbol = new esri.symbol.TextSymbol(p_StateLayer.graphics&lt;I&gt;.attributes.STATE_ABBR, font, new dojo.Color.fromHex("#FFFFFF"));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; p_LabelLayer.add(new esri.Graphic(p_LabelPoints&lt;I&gt;,t_TextSymbol));
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp; });
&amp;nbsp; });
 }
&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/I&gt;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 09:20:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-call-not-working-in-ie8/m-p/336556#M31110</guid>
      <dc:creator>SarahGolding</dc:creator>
      <dc:date>2013-02-28T09:20:27Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService call not working in IE8</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-call-not-working-in-ie8/m-p/336557#M31111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you getting any error messages at all?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have access to IE9, you might want to open the application in that version of the browser to do your debugging.&amp;nbsp; If you open the JavaScript console in IE9 (press F12), you can click on the "Browser Mode" button in the header of the console and choose IE8.&amp;nbsp; Once the application reloads, you should be able to do some debugging (e.g., detect any errors or logging to the console tab, and capture and examine HTTP requests in the network tab).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Feb 2013 13:46:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-call-not-working-in-ie8/m-p/336557#M31111</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2013-02-28T13:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: GeometryService call not working in IE8</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-call-not-working-in-ie8/m-p/336558#M31112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We've had to ditch support for IE8 due to all the weird JS issues it has.&amp;nbsp; Windows 7 has IE9 and XP is just becoming too long in the tooth to support.&amp;nbsp; For those users, we recommend Firefox or Chrome if their IT shop allows it.&amp;nbsp; Otherwise, we recommend Google Chrome Frame and place code in our headers that implement Chrome Frame without anything on the user end.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With IE-9, you can force it to use IE9 as it's standard mode or use Google Chrome Frame by placing the following code in the header.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&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=edge,chrome=1"&amp;gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Mar 2013 04:00:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geometryservice-call-not-working-in-ie8/m-p/336558#M31112</guid>
      <dc:creator>KyleMorgan</dc:creator>
      <dc:date>2013-03-01T04:00:36Z</dc:date>
    </item>
  </channel>
</rss>

