<?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: Best practice to show load icon in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-to-show-load-icon/m-p/586660#M54809</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use "on" style of events in AMD, the events have a different name. You would use "&lt;A href="https://developers.arcgis.com/javascript/jsapi/map-amd.html#event-update-end"&gt;update-end&lt;/A&gt;" instead of "&lt;A href="https://developers.arcgis.com/javascript/jsapi/map-amd.html#onupdateend"&gt;onUpdateEnd&lt;/A&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sentence in the &lt;A href="https://developers.arcgis.com/javascript/jshelp/inside_events.html"&gt;Events page&lt;/A&gt; explains it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;The other important difference, is event names. New &lt;CODE&gt;on&lt;/CODE&gt; style event names are lowercased, words are hyphen separated, and there is no "on" prefix.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 03 Oct 2014 15:39:42 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2014-10-03T15:39:42Z</dc:date>
    <item>
      <title>Best practice to show load icon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-to-show-load-icon/m-p/586659#M54808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a base map, and then load a large csvLayer (over 5,000points) on top of it. I'd like to show the load icon until the csvLayer is fully loaded. How would I setup the event? On layer load or map load?&amp;nbsp; I'm new to AMD style and still not very familiar the javascript api. Some ESRI examples have:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;dojo.connect(map, "onUpdateEnd", updateEnd);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I did&lt;/P&gt;&lt;P&gt;map.on("onUpdateEnd", hideLoading")&amp;nbsp;&amp;nbsp; (on line 60 of attached file)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but the hideLoading is never triggered. Should I do it on a layer instead of layer? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:21:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-to-show-load-icon/m-p/586659#M54808</guid>
      <dc:creator>LeiZhong</dc:creator>
      <dc:date>2014-10-03T15:21:29Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice to show load icon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-to-show-load-icon/m-p/586660#M54809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you use "on" style of events in AMD, the events have a different name. You would use "&lt;A href="https://developers.arcgis.com/javascript/jsapi/map-amd.html#event-update-end"&gt;update-end&lt;/A&gt;" instead of "&lt;A href="https://developers.arcgis.com/javascript/jsapi/map-amd.html#onupdateend"&gt;onUpdateEnd&lt;/A&gt;".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This sentence in the &lt;A href="https://developers.arcgis.com/javascript/jshelp/inside_events.html"&gt;Events page&lt;/A&gt; explains it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;The other important difference, is event names. New &lt;CODE&gt;on&lt;/CODE&gt; style event names are lowercased, words are hyphen separated, and there is no "on" prefix.&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 15:39:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-to-show-load-icon/m-p/586660#M54809</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2014-10-03T15:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: Best practice to show load icon</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-to-show-load-icon/m-p/586661#M54810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yup, that did it. Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Oct 2014 17:19:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/best-practice-to-show-load-icon/m-p/586661#M54810</guid>
      <dc:creator>LeiZhong</dc:creator>
      <dc:date>2014-10-03T17:19:17Z</dc:date>
    </item>
  </channel>
</rss>

