<?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: Update to ArcGIS JS API 3.3 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390456#M36034</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd start with the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/migration_30.html"&gt;Migrating to 3.x&lt;/A&gt;&lt;SPAN&gt; documentation to see some of the major changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The main one is that version 3.x requires your application to be served via a web server, rather than being located on disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eg, you should be accessing it via &lt;/SPAN&gt;&lt;A href="http://localhost/xxx"&gt;http://localhost/xxx&lt;/A&gt;&lt;SPAN&gt; rather than file://c:\temp\xxx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 Mar 2013 22:48:57 GMT</pubDate>
    <dc:creator>StephenLead</dc:creator>
    <dc:date>2013-03-18T22:48:57Z</dc:date>
    <item>
      <title>Update to ArcGIS JS API 3.3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390455#M36033</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear All,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; so far I've been using the arcgis js api version 2.7 within a web mapping application. I updated the JS api to the version 3.3, I don't get any error but the map doesn't show.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please suggest me possible reasons for this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 15:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390455#M36033</guid>
      <dc:creator>demdeberanz</dc:creator>
      <dc:date>2013-03-18T15:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Update to ArcGIS JS API 3.3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390456#M36034</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd start with the &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/migration_30.html"&gt;Migrating to 3.x&lt;/A&gt;&lt;SPAN&gt; documentation to see some of the major changes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The main one is that version 3.x requires your application to be served via a web server, rather than being located on disk.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;eg, you should be accessing it via &lt;/SPAN&gt;&lt;A href="http://localhost/xxx"&gt;http://localhost/xxx&lt;/A&gt;&lt;SPAN&gt; rather than file://c:\temp\xxx&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 Mar 2013 22:48:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390456#M36034</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2013-03-18T22:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Update to ArcGIS JS API 3.3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390457#M36035</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;First of all thank you very much for helping me stevel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I'd start with the &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/migration_30.html"&gt;Migrating to 3.x&lt;/A&gt; documentation to see some of the major changes.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;Unfortunately I couldn't get any clue to fix my issues.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;The main one is that version 3.x requires your application to be served via a web server, rather than being located on disk.&lt;BR /&gt;eg, you should be accessing it via &lt;A href="http://localhost/xxx"&gt;http://localhost/xxx&lt;/A&gt; rather than file://c:\temp\xxx&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;I've been already accessing it through a web server (like localhost)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any other clue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Mar 2013 14:58:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390457#M36035</guid>
      <dc:creator>demdeberanz</dc:creator>
      <dc:date>2013-03-21T14:58:39Z</dc:date>
    </item>
    <item>
      <title>Re: Update to ArcGIS JS API 3.3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390458#M36036</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;There are a lot of headaches with this migration. I can sympathize because I have been doing the same migration for over a month now, working out all the kinks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the real pains is that you must absolutely reference this CSS file in 3.x:&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" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/esri/css/esri.css"&amp;gt;&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;There are some other things too, like 3.x is very particular about spatial references. Anytime you are setting or changing an extent, you MUST include a spatial reference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've just started getting into the migration to AMD references. These aren't critical at this point, but will become so as new versions of Dojo are released. Basically it is just a different way of referencing the ArcGIS modules. Here's an example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The old way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dojo.require("esri.map");
dojo.require("esri.tasks.query");
dojo.require("esri.tasks.identify");
dojo.addOnLoad(Init);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The new way:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;require(["esri/map", "esri/tasks/query", "esri/tasks/querytask", "esri/tasks/identify"], Init());&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:54:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390458#M36036</guid>
      <dc:creator>MatthewLawton</dc:creator>
      <dc:date>2021-12-11T17:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update to ArcGIS JS API 3.3</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390459#M36037</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Any other clue?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Not without seeing your code, or a link to your site Otherwise it could be.... anything &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Mar 2013 00:41:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/update-to-arcgis-js-api-3-3/m-p/390459#M36037</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2013-03-22T00:41:29Z</dc:date>
    </item>
  </channel>
</rss>

