<?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: esri is not defined in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248530#M23023</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If this helps, I had the same problem. I was using ClusterLayer.js via a dojo.require("extra.ClusterLayer"); Within this file, (ClusterLayer.js), there is a dojo.declare("extras.ClusterLayer", esri.layers.GraphicsLayer, { ....etc...}); What solved my issue was adding, to the top of this file, dojo.require("esri.layers.graphics"); reason being that this file was expanding GraphicsLayer without first added the the sub class first. Not sure why this worked on earlier versions though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 21 Jan 2013 15:16:58 GMT</pubDate>
    <dc:creator>PatrickTruitt</dc:creator>
    <dc:date>2013-01-21T15:16:58Z</dc:date>
    <item>
      <title>esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248522#M23015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I try to upgrade my JSAPI web map to version 3.3 it stops working. In Firebug I get the following error: &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;esri is not defined on line 23 of &lt;/SPAN&gt;&lt;A href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.3"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/3.3&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did I miss a coding change that needs to happen from 3.2 to 3.3?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for any help.:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 20:34:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248522#M23015</guid>
      <dc:creator>EmilyLaMunyon</dc:creator>
      <dc:date>2013-01-16T20:34:43Z</dc:date>
    </item>
    <item>
      <title>Re: esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248523#M23016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm getting the same thing. I can get it to work by clearing my cache and restarting the browser about a half a dozen times.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 11:16:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248523#M23016</guid>
      <dc:creator>PatrickTruitt</dc:creator>
      <dc:date>2013-01-17T11:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248524#M23017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Patrick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This does not work for me, I am still getting the error. Is there something else it could be?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 17:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248524#M23017</guid>
      <dc:creator>EmilyLaMunyon</dc:creator>
      <dc:date>2013-01-17T17:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248525#M23018</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Emily,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the What's New at 3.3 help topic there is a small section that lists a few breaking changes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/#whats_new"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/jshelp/#whats_new&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If that info doesn't help can you post a url to your site if you have a public link? Or perhaps some code? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Kelly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 20:55:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248525#M23018</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-01-17T20:55:52Z</dc:date>
    </item>
    <item>
      <title>Re: esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248526#M23019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Kelly!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is the url to my public test site. It loads fine when using 3.2, but the link I posted is set to 3.3 and it will not load.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.surveyor.slco.org/ags10/javamappdf/select_right.html"&gt;http://www.surveyor.slco.org/ags10/javamappdf/select_right.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 21:16:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248526#M23019</guid>
      <dc:creator>EmilyLaMunyon</dc:creator>
      <dc:date>2013-01-17T21:16:39Z</dc:date>
    </item>
    <item>
      <title>Re: esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248527#M23020</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Emily,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I took a quick look and it looks like the url you provided is using 3.2. Can you re-post with the 3.3 version? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.surveyor.slco.org/ags10/javamappdf/select_right.html"&gt;http://www.surveyor.slco.org/ags10/javamappdf/select_right.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 22:17:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248527#M23020</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2013-01-17T22:17:06Z</dc:date>
    </item>
    <item>
      <title>Re: esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248528#M23021</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Sorry about that, this should be set to 3.3.&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://www.surveyor.slco.org/ags10/javamappdf/select_right.html"&gt;http://www.surveyor.slco.org/ags10/javamappdf/select_right.html&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 13:11:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248528#M23021</guid>
      <dc:creator>EmilyLaMunyon</dc:creator>
      <dc:date>2013-01-18T13:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248529#M23022</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I checked out the link and it bombed on the first reference to the esri object in the GoogleMapsLayer.js file (line 11). Didn't investigate further, but that script is being processed before the 3.3 api. Not sure what changed in the new api, but the script load order seems to be the problem.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Jan 2013 15:07:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248529#M23022</guid>
      <dc:creator>MattLane</dc:creator>
      <dc:date>2013-01-18T15:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: esri is not defined</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248530#M23023</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If this helps, I had the same problem. I was using ClusterLayer.js via a dojo.require("extra.ClusterLayer"); Within this file, (ClusterLayer.js), there is a dojo.declare("extras.ClusterLayer", esri.layers.GraphicsLayer, { ....etc...}); What solved my issue was adding, to the top of this file, dojo.require("esri.layers.graphics"); reason being that this file was expanding GraphicsLayer without first added the the sub class first. Not sure why this worked on earlier versions though.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Jan 2013 15:16:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/esri-is-not-defined/m-p/248530#M23023</guid>
      <dc:creator>PatrickTruitt</dc:creator>
      <dc:date>2013-01-21T15:16:58Z</dc:date>
    </item>
  </channel>
</rss>

