<?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: Building a splash screen to tell the user the application is loading? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391672#M36169</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for all of the replies.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Dec 2013 20:20:52 GMT</pubDate>
    <dc:creator>IanPeebles</dc:creator>
    <dc:date>2013-12-12T20:20:52Z</dc:date>
    <item>
      <title>Building a splash screen to tell the user the application is loading?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391666#M36163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am interested in building a splash screen that tells the user that the application is loading.&amp;nbsp; When the application is finished loading, I am wanting the screen to disappear.&amp;nbsp; Has anyone put something like this together?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am looking at something similar to what the Silverlight Viewer displays.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any assistance will greatly be appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 12:41:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391666#M36163</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-12-12T12:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Building a splash screen to tell the user the application is loading?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391667#M36164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;to accomplish this I have a [HTML]&amp;lt;div id="wait" class="esriSimpleSlider"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &amp;lt;img src="ajax-loader.gif"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/div&amp;gt;[/HTML] that shows in the center of the screen.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Then using the map.on load event (which fires when the application has finished loading) i hide it. &lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;loading = dom.byId("wait");
map.on("load", function() {
esri.hide(loading);
//other stuff
});&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;There are probably more elegant ways of doing this, but I hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:57:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391667#M36164</guid>
      <dc:creator>BradleyNeish1</dc:creator>
      <dc:date>2021-12-11T17:57:12Z</dc:date>
    </item>
    <item>
      <title>Re: Building a splash screen to tell the user the application is loading?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391668#M36165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Here's a &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/map_showloading.html"&gt;sample&lt;/A&gt;&lt;SPAN&gt; that shows how to do that with a gif and here's &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jssamples/map_showloadingtext.html"&gt;one&lt;/A&gt;&lt;SPAN&gt; with text.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 14:14:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391668#M36165</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2013-12-12T14:14:06Z</dc:date>
    </item>
    <item>
      <title>Re: Building a splash screen to tell the user the application is loading?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391669#M36166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;to accomplish this I have a [HTML]&amp;lt;div id="wait" class="esriSimpleSlider"&amp;gt;&lt;BR /&gt; &amp;lt;img src="ajax-loader.gif"&amp;gt;&lt;BR /&gt;&amp;lt;/div&amp;gt;[/HTML] that shows in the center of the screen.&lt;BR /&gt;Then using the map.on load event (which fires when the application has finished loading) i hide it. &lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;loading = dom.byId("wait");
map.on("load", function() {
esri.hide(loading);
//other stuff
});&lt;/PRE&gt;&lt;BR /&gt;There are probably more elegant ways of doing this, but I hope this helps.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&amp;nbsp; Will this only appear when the application is first loaded?&amp;nbsp; I don't want it to show up each time a user makes a zoom or pan on the map.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:57:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391669#M36166</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2021-12-11T17:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Building a splash screen to tell the user the application is loading?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391670#M36167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Here's a &lt;A href="https://developers.arcgis.com/en/javascript/jssamples/map_showloading.html"&gt;sample&lt;/A&gt; that shows how to do that with a gif and here's &lt;A href="https://developers.arcgis.com/en/javascript/jssamples/map_showloadingtext.html"&gt;one&lt;/A&gt; with text.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That isn't quite what I am looking for.&amp;nbsp; This animated .gif shows up when the application loads and when the user performs a zoom or pan on the map.&amp;nbsp; All I need is to have a screen come up one time each time the application is opened in the browser.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 15:56:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391670#M36167</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-12-12T15:56:56Z</dc:date>
    </item>
    <item>
      <title>Re: Building a splash screen to tell the user the application is loading?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391671#M36168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Thanks.&amp;nbsp; Will this only appear when the application is first loaded?&amp;nbsp; I don't want it to show up each time a user makes a zoom or pan on the map.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Yes this only appears when the application first loads. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;From the reference: the map.on load event "Fires when the first or base layer has been successfully added to the map". &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Depending on your specific application and the size/# of your layers you might be better served with the map.on layers-add-result event("Fires after all layers are added to the map using the map.addLayers method").&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 18:43:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391671#M36168</guid>
      <dc:creator>BradleyNeish1</dc:creator>
      <dc:date>2013-12-12T18:43:55Z</dc:date>
    </item>
    <item>
      <title>Re: Building a splash screen to tell the user the application is loading?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391672#M36169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for all of the replies.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 20:20:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/building-a-splash-screen-to-tell-the-user-the/m-p/391672#M36169</guid>
      <dc:creator>IanPeebles</dc:creator>
      <dc:date>2013-12-12T20:20:52Z</dc:date>
    </item>
  </channel>
</rss>

