<?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: weather in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123785#M11547</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yep. correct.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt that's great! Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the file, and placed it in my javascript folder in my Basic Viewer template project site. I then added the following to my index.html file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&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;lt;script type="text/javascript" src="javascript/WURadarLayer.js"&amp;gt;&amp;lt;/script&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I saved this file as a plain file with a .js extension and didn't modify it. I signed up for an API key (###) which I then put in where you showed us in the ReadMe. I put the following line in layout.js at the top ....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
require([
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/ready",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/_base/connect",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "modules/WURadarLayer"

]);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I guess this new Dojo syntax is a bit different from the past, with things like&amp;nbsp;&amp;nbsp; dojo.require("esri.dijit.Popup");&amp;nbsp; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then put .....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var wuradar = new WURadarLayer('#####');

&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;into my list of layers and put it in my layer loading list...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 map.addLayers([wuradar,&amp;nbsp; more layers...)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I got an error "0x800a1391 - JavaScript runtime error: 'WURadarLayer' is undefined" from Vis Studio / IE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So did I declare right? I am just beginning at Javascript thank you for any help. This was exactly what I was looking for, a radar loop! Thanks to you both!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And, does anyone know of an example using the standard RIDGE Radar? &lt;/SPAN&gt;&lt;A href="http://atlas.resources.ca.gov/ArcGIS/rest/services/Atmosphere_Climate/RIDGE_Precip_Radar/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://atlas.resources.ca.gov/ArcGIS/rest/services/Atmosphere_Climate/RIDGE_Precip_Radar/MapServer&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That may also be helpful as the Wunderground API limits the amount of use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 07:06:07 GMT</pubDate>
    <dc:creator>KevinMacLeod1</dc:creator>
    <dc:date>2021-12-11T07:06:07Z</dc:date>
    <item>
      <title>weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123781#M11543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Flex has a nice weather layer that can be added to a viewer to show the latest weather in Motion.&amp;nbsp; Is there one available for the javascript API?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 19:34:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123781#M11543</guid>
      <dc:creator>BillShockley</dc:creator>
      <dc:date>2013-01-15T19:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123782#M11544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Are you looking for Radar?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found something on GitHub and modified it a litte and converted to AMD.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="http://driskull.github.com/esri-weatherunderground/" rel="nofollow" target="_blank"&gt;http://driskull.github.com/esri-weatherunderground/&lt;/A&gt;&lt;BR /&gt;&lt;A class="jive-link-external-small" href="https://github.com/driskull/esri-weatherunderground" rel="nofollow" target="_blank"&gt;https://github.com/driskull/esri-weatherunderground&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Originally came from this: &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://github.com/brandoncopeland/esri-weatherunderground" rel="nofollow" target="_blank"&gt;https://github.com/brandoncopeland/esri-weatherunderground&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is just a simple example and could be expanded. I believe there's other API's that can do radar motion as well.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Jan 2013 22:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123782#M11544</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2013-01-15T22:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123783#M11545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Are you looking for Radar?&lt;BR /&gt;&lt;BR /&gt;I found something on GitHub and modified it a litte and converted to AMD.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://driskull.github.com/esri-weatherunderground/"&gt;http://driskull.github.com/esri-weatherunderground/&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://github.com/driskull/esri-weatherunderground"&gt;https://github.com/driskull/esri-weatherunderground&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Originally came from this: &lt;A href="https://github.com/brandoncopeland/esri-weatherunderground"&gt;https://github.com/brandoncopeland/esri-weatherunderground&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;This is just a simple example and could be expanded. I believe there's other API's that can do radar motion as well.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, if I understand this correctly I will need an api key from &lt;/SPAN&gt;&lt;A href="http://www.wunderground.com"&gt;http://www.wunderground.com&lt;/A&gt;&lt;SPAN&gt; correct to get this to work correctly?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 15:02:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123783#M11545</guid>
      <dc:creator>BillShockley</dc:creator>
      <dc:date>2013-01-16T15:02:55Z</dc:date>
    </item>
    <item>
      <title>Re: weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123784#M11546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;OK, if I understand this correctly I will need an api key from &lt;A href="http://www.wunderground.com"&gt;http://www.wunderground.com&lt;/A&gt; correct to get this to work correctly?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yep. correct.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jan 2013 19:31:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123784#M11546</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2013-01-16T19:31:55Z</dc:date>
    </item>
    <item>
      <title>Re: weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123785#M11547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Yep. correct.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Matt that's great! Thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I downloaded the file, and placed it in my javascript folder in my Basic Viewer template project site. I then added the following to my index.html file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&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;lt;script type="text/javascript" src="javascript/WURadarLayer.js"&amp;gt;&amp;lt;/script&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;I saved this file as a plain file with a .js extension and didn't modify it. I signed up for an API key (###) which I then put in where you showed us in the ReadMe. I put the following line in layout.js at the top ....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
require([
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/ready",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/_base/connect",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "modules/WURadarLayer"

]);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(I guess this new Dojo syntax is a bit different from the past, with things like&amp;nbsp;&amp;nbsp; dojo.require("esri.dijit.Popup");&amp;nbsp; )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I then put .....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var wuradar = new WURadarLayer('#####');

&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;into my list of layers and put it in my layer loading list...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 map.addLayers([wuradar,&amp;nbsp; more layers...)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I got an error "0x800a1391 - JavaScript runtime error: 'WURadarLayer' is undefined" from Vis Studio / IE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So did I declare right? I am just beginning at Javascript thank you for any help. This was exactly what I was looking for, a radar loop! Thanks to you both!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And, does anyone know of an example using the standard RIDGE Radar? &lt;/SPAN&gt;&lt;A href="http://atlas.resources.ca.gov/ArcGIS/rest/services/Atmosphere_Climate/RIDGE_Precip_Radar/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://atlas.resources.ca.gov/ArcGIS/rest/services/Atmosphere_Climate/RIDGE_Precip_Radar/MapServer&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That may also be helpful as the Wunderground API limits the amount of use.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:06:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123785#M11547</guid>
      <dc:creator>KevinMacLeod1</dc:creator>
      <dc:date>2021-12-11T07:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123786#M11548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Matt that's great! Thank you!&lt;BR /&gt;&lt;BR /&gt;I downloaded the file, and placed it in my javascript folder in my Basic Viewer template project site. I then added the following to my index.html file:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&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;lt;script type="text/javascript" src="javascript/WURadarLayer.js"&amp;gt;&amp;lt;/script&amp;gt;
&lt;/PRE&gt;&lt;BR /&gt;I saved this file as a plain file with a .js extension and didn't modify it. I signed up for an API key (###) which I then put in where you showed us in the ReadMe. I put the following line in layout.js at the top ....&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
require([
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/ready",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "dojo/_base/connect",
&amp;nbsp;&amp;nbsp;&amp;nbsp; "modules/WURadarLayer"

]);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;(I guess this new Dojo syntax is a bit different from the past, with things like&amp;nbsp;&amp;nbsp; dojo.require("esri.dijit.Popup");&amp;nbsp; )&lt;BR /&gt;I then put .....&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var wuradar = new WURadarLayer('#####');

&lt;/PRE&gt;&lt;BR /&gt;into my list of layers and put it in my layer loading list...&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
 map.addLayers([wuradar,&amp;nbsp; more layers...)
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;But I got an error "0x800a1391 - JavaScript runtime error: 'WURadarLayer' is undefined" from Vis Studio / IE.&lt;BR /&gt;&lt;BR /&gt;So did I declare right? I am just beginning at Javascript thank you for any help. This was exactly what I was looking for, a radar loop! Thanks to you both!&lt;BR /&gt;&lt;BR /&gt;And, does anyone know of an example using the standard RIDGE Radar? &lt;A href="http://atlas.resources.ca.gov/ArcGIS/rest/services/Atmosphere_Climate/RIDGE_Precip_Radar/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://atlas.resources.ca.gov/ArcGIS/rest/services/Atmosphere_Climate/RIDGE_Precip_Radar/MapServer&lt;/A&gt; &lt;BR /&gt;That may also be helpful as the Wunderground API limits the amount of use.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think I had the same error and the problem I found was that the .js file was in the wrong place and it could be read.&amp;nbsp; I was using firebug to check the error.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:06:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123786#M11548</guid>
      <dc:creator>BillShockley</dc:creator>
      <dc:date>2021-12-11T07:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123787#M11549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I think I had the same error and the problem I found was that the .js file was in the wrong place and it could be read.&amp;nbsp; I was using firebug to check the error.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thanks Bill. You are right, firebug shows me it looks for WURadar at "NetworkError: 404 Not Found - &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/dojo/modules/WURadarLayer.js" rel="nofollow noopener noreferrer" target="_blank"&gt;http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/dojo/modules/WURadarLayer.js&lt;/A&gt;&lt;SPAN&gt;".&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How did you get yours working, as an AMD module or inline code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The new code by Matt Driscoll is AMD and a module, from my understanding. Our site calls the ESRI edge server for the API and thus also Dojo. So the Dojo is a hosted CDN (wherever ESRI points to). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am just beginning to learn Dojo.... There is documentation on the Dojo site regarding use of a CDN while using local modules. Furthermore, since I am still developing the site it does not have a final URL yet, it just runs out of the local webserver folder Visual Studio 2012 generates on the fly. However there is a way to "detect" the current URL with Javascript, then tack on something additional, to tell it to load a local module, in dojoConfig, even though the library itself is CDN hosted.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://dojotoolkit.org/documentation/tutorials/1.8/dojo_config/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://dojotoolkit.org/documentation/tutorials/1.8/dojo_config/&lt;/A&gt;&lt;SPAN&gt; has this exact exdample of a local module with Google CDN of Dojo Lib loading a local module "demo'. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need to detect the local URL the Javascript syntax location.pathname.replace(/\/[^/]+$/, "") is supposed to find current URL so you can append soemthing e.g. "+ /javascript" to get the path to our local module. For example, in my project structure, which is the Basic Viewer template, I have a javascript folder. (ProjectName/javascript which contains layout.js as well as WURadar.js).&amp;nbsp; So I put the appropriate code into dojoConfig which we made a separate file, preLoad.js. I put it above the ESRI API (and tried it below, every which place) in the index.html. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So this is our preLoad.js &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var dojoConfig = {
&amp;nbsp;&amp;nbsp;&amp;nbsp; parseOnLoad: true,
&amp;nbsp;&amp;nbsp;&amp;nbsp; packages: [{
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name: "esriTemplate",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location: location.pathname.replace(/\/[^/]+$/, '')
&amp;nbsp;&amp;nbsp;&amp;nbsp; },
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; {name: "WURadarLayer.js",
&amp;nbsp;&amp;nbsp;&amp;nbsp; location: location.pathname.replace(/\/[^/]+$/, "") + '/javascript/WURadarLayer.js'
&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; name: "utilities",
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; location: location.pathname.replace(/\/[^/]+$/, '') + '/javascript'
&amp;nbsp;&amp;nbsp;&amp;nbsp; }]
};
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I also tried putting it in the root of the project folder and referring to just / above.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In my layout.js I tried both the old 1.6 require syntax dojo.require("modules.WURadarLayer"); as well as the new AMD syntax, no luck.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It always says 'WURadar is undefined'. When I tried inline code, using brandoncopeland's original code as well as Matt's, I got other weird syntax errors. While keeping it modular would be best, as Matt designed, if anyone has this working via inline code in layout.js that works, I'd be glad if you could share that as well. Or could you share the steps you took to get it working Bill, as a module?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; Other documentation I reviewed: &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/reference-guide/1.8/loader/amd.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://dojotoolkit.org/reference-guide/1.8/loader/amd.html&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp; and&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/reference-guide/1.7/quickstart/cross-domain.html" rel="nofollow noopener noreferrer" target="_blank"&gt;http://dojotoolkit.org/reference-guide/1.7/quickstart/cross-domain.html&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:06:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123787#M11549</guid>
      <dc:creator>KevinMacLeod1</dc:creator>
      <dc:date>2021-12-11T07:06:13Z</dc:date>
    </item>
    <item>
      <title>Re: weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123788#M11550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;var radarloop = new modules.WURadarLayer('###');&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The namespace is modules and that is how it must be called, per above. Now it works nicely.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Jan 2013 15:35:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123788#M11550</guid>
      <dc:creator>KevinMacLeod1</dc:creator>
      <dc:date>2013-01-29T15:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: weather</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123789#M11551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;var radarloop = new modules.WURadarLayer('###');&lt;BR /&gt;&lt;BR /&gt;The namespace is modules and that is how it must be called, per above. Now it works nicely.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yeah, the example I used was using Dojo AMD format which is a little different. glad you got it working!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Jan 2013 00:11:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/weather/m-p/123789#M11551</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2013-01-30T00:11:04Z</dc:date>
    </item>
  </channel>
</rss>

