<?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: Issue Upgrading to version 3.0 in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80643#M7408</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok this issue looks like a bug but you can workaround it by adding the following before creating the basemap gallery&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;esri.dijit.BasemapGallery.prototype._markSelected = function (basemap) {
&amp;nbsp; if (basemap) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; // unselect all basemap gallery items
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(dojo.query(".esriBasemapGallerySelectedNode",
this.domNode), function (node) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.removeClass(node, "esriBasemapGallerySelectedNode");
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; // select current basemap gallery item
&amp;nbsp;&amp;nbsp;&amp;nbsp; var basemapNode = dojo.byId("galleryNode_" + basemap.id);
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (basemapNode) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.addClass(basemapNode, "esriBasemapGallerySelectedNode");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Kelly,&lt;BR /&gt;&amp;nbsp; the CORS issue I am fine with ignoring, the fact that the sample code for creating a basemap gallery breaks is not related to CORS.&amp;nbsp; The link to the sample is here &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html&lt;/A&gt;&lt;BR /&gt;on line 83 &lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var basemapGallery = new esri.dijit.BasemapGallery({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; showArcGISBasemaps:false,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemaps:basemaps,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map:map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },"basemapGallery");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemapGallery.startup();
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;that call causes an uncaught error: "Uncaught TypeError: Cannot read property 'className' of null "&lt;BR /&gt;&lt;BR /&gt;this is the issue that still exists and cannot be ignored.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 23:06:15 GMT</pubDate>
    <dc:creator>KellyHutchins</dc:creator>
    <dc:date>2021-12-10T23:06:15Z</dc:date>
    <item>
      <title>Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80635#M7400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am attempting to upgrade to version 3.0 of the API, and I have started getting errors.&amp;nbsp; The error I get is seen in the sample &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; I imagine this is a bug since the sample is broken as well.&amp;nbsp; Has anyone else seen or resolved this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Adam Conner&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;City of Philadelphia&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 12:13:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80635#M7400</guid>
      <dc:creator>AdamConner</dc:creator>
      <dc:date>2012-06-14T12:13:35Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80636#M7401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am attempting to upgrade to version 3.0 of the API, and I have started getting errors.&amp;nbsp; The error I get is seen in the sample &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html&lt;/A&gt;&amp;nbsp; I imagine this is a bug since the sample is broken as well.&amp;nbsp; Has anyone else seen or resolved this issue?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Adam Conner&lt;BR /&gt;City of Philadelphia&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the same error, both on the sample and on my own app.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Whenever a layer is loaded it tries to access&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;or in my case also&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://services.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://services.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt; (world basemap)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.mymanatee.org/arcgis/rest/info?f=json"&gt;http://www.mymanatee.org/arcgis/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt; (local services)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;These return valid json (200 0k http code) but for some reason throw an error in the app&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the error is (on the sample)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMLHttpRequest cannot load &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/info?f=json"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt;. Origin &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com"&gt;http://help.arcgis.com&lt;/A&gt;&lt;SPAN&gt; is not allowed by Access-Control-Allow-Origin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and on my local development site&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;XMLHttpRequest cannot load &lt;/SPAN&gt;&lt;A href="http://www.mymanatee.org/arcgis/rest/info?f=json"&gt;http://www.mymanatee.org/arcgis/rest/info?f=json&lt;/A&gt;&lt;SPAN&gt;. Origin &lt;/SPAN&gt;&lt;A href="http://jpgisdev.intranet"&gt;http://jpgisdev.intranet&lt;/A&gt;&lt;SPAN&gt; is not allowed by Access-Control-Allow-Origin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Its seems like arcgis server is not properly returning the Access-Control-Allow-Origin "*" headers in the response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 13:38:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80636#M7401</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-06-14T13:38:30Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80637#M7402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I was able to get rid of the cross origin error by adding the allow cross origin header.&amp;nbsp; I used the instructions here: &lt;/SPAN&gt;&lt;A href="http://enable-cors.org/"&gt;http://enable-cors.org/&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; I still get the "Uncaught TypeError: Cannot read property 'className' of null "&amp;nbsp; error even after this is fixed, this is the issue I am considering to be a bug until I hear otherwise.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 14:04:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80637#M7402</guid>
      <dc:creator>AdamConner</dc:creator>
      <dc:date>2012-06-14T14:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80638#M7403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I was able to get rid of the cross origin error by adding the allow cross origin header.&amp;nbsp; I used the instructions here: &lt;A href="http://enable-cors.org/"&gt;http://enable-cors.org/&lt;/A&gt;&amp;nbsp; I still get the "Uncaught TypeError: Cannot read property 'className' of null "&amp;nbsp; error even after this is fixed, this is the issue I am considering to be a bug until I hear otherwise.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Where did you add it?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 14:07:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80638#M7403</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-06-14T14:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80639#M7404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Good, I assumed it was because I was running from a localhost, but then I pushed to a server and got same errors. In my case, it does not break my app, just a little annoying error. I've been running 3.0 through it's paces since yesterday and think I'm finally ready to update my apps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 14:59:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80639#M7404</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2012-06-14T14:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80640#M7405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This error can be ignored - here's a blurb from the help on this error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Automatic detection of CORS support. This is done by attempting to access the /&amp;lt;instance-name&amp;gt;/rest/info endpoint of any ArcGIS server instance used in an ArcGIS API for JavaScript application. For servers that do not support CORS, this request will fail and an error will be logged to the browser's developer console. This can be observed in most of the API's samples as the majority of the servers used do not support CORS. This error can safely be ignored. There are cases where the API will not send a request to /&amp;lt;instance-name&amp;gt;/rest/info and are as follows:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The browser does not support CORS&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Server is already listed in esri.config.defaults.io.corsEnabledServers&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri.config.defaults.io.corsDetection is false&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;JSON is used instead of JSONP in the following cases:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The resource being fetched is on the same domain as the application&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The resource being fetched is on a server that supports CORS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To read the blurb in context see the API reference for esri.request&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 15:02:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80640#M7405</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2012-06-14T15:02:56Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80641#M7406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;This error can be ignored - here's a blurb from the help on this error:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Automatic detection of CORS support. This is done by attempting to access the /&amp;lt;instance-name&amp;gt;/rest/info endpoint of any ArcGIS server instance used in an ArcGIS API for JavaScript application. For servers that do not support CORS, this request will fail and an error will be logged to the browser's developer console. This can be observed in most of the API's samples as the majority of the servers used do not support CORS. This error can safely be ignored. There are cases where the API will not send a request to /&amp;lt;instance-name&amp;gt;/rest/info and are as follows:&lt;BR /&gt;The browser does not support CORS&lt;BR /&gt;The Server is already listed in esri.config.defaults.io.corsEnabledServers&lt;BR /&gt;esri.config.defaults.io.corsDetection is false&lt;BR /&gt;JSON is used instead of JSONP in the following cases:&lt;BR /&gt;The resource being fetched is on the same domain as the application&lt;BR /&gt;The resource being fetched is on a server that supports CORS&lt;BR /&gt;&lt;BR /&gt;To read the blurb in context see the API reference for esri.request&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/namespace_esri.htm&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; the CORS issue I am fine with ignoring, the fact that the sample code for creating a basemap gallery breaks is not related to CORS.&amp;nbsp; The link to the sample is here &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;on line 83 &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var basemapGallery = new esri.dijit.BasemapGallery({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; showArcGISBasemaps:false,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemaps:basemaps,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map:map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },"basemapGallery");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemapGallery.startup();
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;that call causes an uncaught error: "Uncaught TypeError: Cannot read property 'className' of null "&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;this is the issue that still exists and cannot be ignored.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:06:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80641#M7406</guid>
      <dc:creator>AdamConner</dc:creator>
      <dc:date>2021-12-10T23:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80642#M7407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Im having a similar issue.&amp;nbsp; I upgraded my map to 3.0 this morning and at first it would not work at all until I moved some variables around.&amp;nbsp; Got it too work temporarily, went to lunch, and when I got back it was no longer working.&amp;nbsp;&amp;nbsp; The error is "Type Error: cannot call method 'setRenderer' of null".&amp;nbsp; It is referring to where I call map.graphics.setRenderer(renderer), I had it working on 2.8 and even on 3.0 for a little but all of sudden the map stopped working.&amp;nbsp; Also getting "Uncaught Error: esri is not defined" when I try to create an extent object to be used as my initial extent.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 19:54:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80642#M7407</guid>
      <dc:creator>RobertWinterbottom</dc:creator>
      <dc:date>2012-06-14T19:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80643#M7408</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok this issue looks like a bug but you can workaround it by adding the following before creating the basemap gallery&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;esri.dijit.BasemapGallery.prototype._markSelected = function (basemap) {
&amp;nbsp; if (basemap) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; // unselect all basemap gallery items
&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.forEach(dojo.query(".esriBasemapGallerySelectedNode",
this.domNode), function (node) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.removeClass(node, "esriBasemapGallerySelectedNode");
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
&amp;nbsp;&amp;nbsp;&amp;nbsp; // select current basemap gallery item
&amp;nbsp;&amp;nbsp;&amp;nbsp; var basemapNode = dojo.byId("galleryNode_" + basemap.id);
&amp;nbsp;&amp;nbsp;&amp;nbsp; if (basemapNode) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dojo.addClass(basemapNode, "esriBasemapGallerySelectedNode");
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp; }
}
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Kelly,&lt;BR /&gt;&amp;nbsp; the CORS issue I am fine with ignoring, the fact that the sample code for creating a basemap gallery breaks is not related to CORS.&amp;nbsp; The link to the sample is here &lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/demos/widget/widget_basemapManual.html&lt;/A&gt;&lt;BR /&gt;on line 83 &lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var basemapGallery = new esri.dijit.BasemapGallery({
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; showArcGISBasemaps:false,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemaps:basemaps,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map:map
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },"basemapGallery");
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; basemapGallery.startup();
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;that call causes an uncaught error: "Uncaught TypeError: Cannot read property 'className' of null "&lt;BR /&gt;&lt;BR /&gt;this is the issue that still exists and cannot be ignored.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:06:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80643#M7408</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-10T23:06:15Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80644#M7409</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out the 'Migrating to 3.0' doc for some tips on upgrading your app:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/migration_30.htm"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/migration_30.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that doesn't help can you provide a code snippet that shows the problem? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Im having a similar issue.&amp;nbsp; I upgraded my map to 3.0 this morning and at first it would not work at all until I moved some variables around.&amp;nbsp; Got it too work temporarily, went to lunch, and when I got back it was no longer working.&amp;nbsp;&amp;nbsp; The error is "Type Error: cannot call method 'setRenderer' of null".&amp;nbsp; It is referring to where I call map.graphics.setRenderer(renderer), I had it working on 2.8 and even on 3.0 for a little but all of sudden the map stopped working.&amp;nbsp; Also getting "Uncaught Error: esri is not defined" when I try to create an extent object to be used as my initial extent.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 20:06:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80644#M7409</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2012-06-14T20:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80645#M7410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Robert,&lt;BR /&gt;&lt;BR /&gt;Check out the 'Migrating to 3.0' doc for some tips on upgrading your app:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/migration_30.htm" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jshelp/migration_30.htm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If that doesn't help can you provide a code snippet that shows the problem?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sure, I actually spoke a hair too soon about the "Type Error: cannot call method 'setRenderer' of null", after I posted my first comment I closed the browser and restarted it and I was no longer receiving that error, so now the map is up and running but I am still getting an error on creating an extent, Uncaught ReferenceError: esri is not defined, it is pointing to this little bit of code :&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var initExtent = new esri.geometry.Extent({
&amp;nbsp;&amp;nbsp;&amp;nbsp; "xmin":-15654227.28,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "ymin":1644618.94,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "xmax":-6848681.62,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "ymax":7514982.71,
&amp;nbsp;&amp;nbsp;&amp;nbsp; "spatialReference":{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "wkid":102100}
});&lt;/PRE&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have noticed that if I comment this section out, on the next line of this file I create a symbol object and then I get the same error saying esri is not defined pointing to the symbol object instead, Ill include that code as well just in case it can help &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var sfs = new esri.symbol.SimpleFillSymbol(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.symbol.SimpleFillSymbol.STYLE_SOLID,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new esri.symbol.SimpleLineSymbol(
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; esri.symbol.SimpleLineSymbol.STYLE_SOLID,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; new dojo.Color([0, 0, 0]), 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.5 
&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; null
);&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:06:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80645#M7410</guid>
      <dc:creator>RobertWinterbottom</dc:creator>
      <dc:date>2021-12-10T23:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80646#M7411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The posted code looks fine. Can you post your complete app or better yet a simplified version that will demonstrate the problem? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Sure, I actually spoke a hair too soon about the "Type Error: cannot call method 'setRenderer' of null", after I posted my first comment I closed the browser and restarted it and I was no longer receiving that error, so now the map is up and running but I am still getting an error on creating an extent, Uncaught ReferenceError: esri is not defined, it is pointing to this little bit of code :&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 20:19:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80646#M7411</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2012-06-14T20:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80647#M7412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;RWinter85, in my experience when you get that error, you are using the esri object before it has been downloaded and defined. Meaning you are probably calling it before the DOM is ready.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 20:21:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80647#M7412</guid>
      <dc:creator>MattLane</dc:creator>
      <dc:date>2012-06-14T20:21:38Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80648#M7413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the quick response everyone.&amp;nbsp; Matt that was it.&amp;nbsp; I had moved those two sections of code to a separate .js file where I kept all of my global variables, so I moved them again but this time into my onLoad function which get's added on load and that fixed it.&amp;nbsp; I am glad it turned out to be an easy fix.&amp;nbsp; Thanks again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 20:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80648#M7413</guid>
      <dc:creator>RobertWinterbottom</dc:creator>
      <dc:date>2012-06-14T20:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80649#M7414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;when trying to display any of the examples from the browser hitting directly the page by using file:///&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get 4 error that do NOT allow the map to display.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Version 2.8 works perfectly fine. and version 3.0 also works fine if I display it form a server as you guys have said.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I still would like to work locally hitting the page directly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here are the errors, two of which are the Access-Control-Allow-Origin but there are 2 more:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMLHttpRequest cannot load &lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.0compact/js/esri/nls/jsapi_en-us.js"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/3.0compact/js/esri/nls/jsapi_en-us.js&lt;/A&gt;&lt;SPAN&gt;. Origin null is not allowed by Access-Control-Allow-Origin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Error&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_428 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo._ioSetArgs.ld serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_1c6 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_1c4 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.Deferred.reject.errback serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.Deferred._1c3.cancel.cancel serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.xhr serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;dojo.xhrGet serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_17e serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_4b9 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_17e serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_14f._preloadLocalizations._19b serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_186 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_199 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_14f._preloadLocalizations serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(anonymous function) serverapi.arcgisonline.com:34&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_c7 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_36 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;_16 serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;req serverapi.arcgisonline.com:15&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(anonymous function) serverapi.arcgisonline.com:34&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;XMLHttpRequest cannot load &lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.0compact/js/dojo/dojox/gfx/svg.js"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/3.0compact/js/dojo/dojox/gfx/svg.js&lt;/A&gt;&lt;SPAN&gt;. Origin null is not allowed by Access-Control-Allow-Origin.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 13:09:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80649#M7414</guid>
      <dc:creator>JorgeFiallega</dc:creator>
      <dc:date>2012-07-06T13:09:57Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80650#M7415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Just to double check, you aren't running this file locally are you? You could do this at 2.8, you can not at 3.0.&amp;nbsp; You have to run it from a webserver.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 13:34:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80650#M7415</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-07-06T13:34:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80651#M7416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the response.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes I am. Could you tell me what the difference is between 2.8 and 3.0 that I can not run it as a local file ?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 14:07:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80651#M7416</guid>
      <dc:creator>JorgeFiallega</dc:creator>
      <dc:date>2012-07-06T14:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80652#M7417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;suspicions are it is the dojo upgrade&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.arcgis.com/threads/61584-Sample-scripts-no-longer-work-since-upgrade-to-v3.0-of-the-API"&gt;http://forums.arcgis.com/threads/61584-Sample-scripts-no-longer-work-since-upgrade-to-v3.0-of-the-API&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jul 2012 14:10:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80652#M7417</guid>
      <dc:creator>JeffPace</dc:creator>
      <dc:date>2012-07-06T14:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Issue Upgrading to version 3.0</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80653#M7418</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I solved my error by moving my code into the function that is called by the &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;dojo.ready(init)&lt;/SPAN&gt;&lt;SPAN&gt; method.&amp;nbsp; Using some esri methods before dojo is ready seems to generate the:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-family:Courier New;"&gt;Uncaught ReferenceError: esri is not defined&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Feb 2013 21:23:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/issue-upgrading-to-version-3-0/m-p/80653#M7418</guid>
      <dc:creator>AndrewRowe</dc:creator>
      <dc:date>2013-02-07T21:23:05Z</dc:date>
    </item>
  </channel>
</rss>

