<?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: Is an event fired when the map stops drawing? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247658#M22940</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(broken link)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Oct 2013 22:34:14 GMT</pubDate>
    <dc:creator>Todd</dc:creator>
    <dc:date>2013-10-23T22:34:14Z</dc:date>
    <item>
      <title>Is an event fired when the map stops drawing?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247654#M22936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'd like to add a "waiting" animation to my JS map, as in the sample at &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_showloading.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/map_showloading.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In this sample, "the map's &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;onLoad&lt;/SPAN&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;onZoomStart&lt;/SPAN&gt;&lt;SPAN&gt;,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; and &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;onPanStart&lt;/SPAN&gt;&lt;SPAN&gt; events cause the loading icon to appear. The layers' &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;onUpdate&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; events cause the icon to go away."&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This requires listening for the onUpdate event on every layer that you add to the map, and anticipating every event which could cause the map to redraw (pan/zoom, previous/next extent, time slider change, etc).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to listen at the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;map &lt;/SPAN&gt;&lt;SPAN&gt;level, rather than the &lt;/SPAN&gt;&lt;SPAN style="font-style:italic;"&gt;layer &lt;/SPAN&gt;&lt;SPAN&gt;level? ie, is there an event fired when the map has finished doing everything? What is the last event fired by the map when it redraws for whatever reason?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 Aug 2010 23:09:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247654#M22936</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2010-08-29T23:09:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is an event fired when the map stops drawing?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247655#M22937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am interested in this as well...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Aug 2010 16:03:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247655#M22937</guid>
      <dc:creator>GlenRhea</dc:creator>
      <dc:date>2010-08-30T16:03:45Z</dc:date>
    </item>
    <item>
      <title>Re: Is an event fired when the map stops drawing?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247656#M22938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Use map.onUpdateEnd()&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 02:02:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247656#M22938</guid>
      <dc:creator>GeorgieCassar</dc:creator>
      <dc:date>2012-09-11T02:02:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is an event fired when the map stops drawing?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247657#M22939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Georgie.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jsapi/map.htm#onUpdateEnd"&gt;OnUpdateEnd&lt;/A&gt;&lt;SPAN&gt; was added for the v2.2 release - I'd like to think as a result of this forum post &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Sep 2012 03:37:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247657#M22939</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2012-09-11T03:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: Is an event fired when the map stops drawing?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247658#M22940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;(broken link)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Oct 2013 22:34:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247658#M22940</guid>
      <dc:creator>Todd</dc:creator>
      <dc:date>2013-10-23T22:34:14Z</dc:date>
    </item>
    <item>
      <title>Re: Is an event fired when the map stops drawing?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247659#M22941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;(broken link)&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Todd,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The new syntax is&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;map.on("update-end", function() {
&amp;nbsp; //do something
});&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See &lt;/SPAN&gt;&lt;A href="https://developers.arcgis.com/en/javascript/jsapi/map-amd.html#update-end" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/en/javascript/jsapi/map-amd.html#update-end&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 12:19:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-an-event-fired-when-the-map-stops-drawing/m-p/247659#M22941</guid>
      <dc:creator>StephenLead</dc:creator>
      <dc:date>2021-12-11T12:19:47Z</dc:date>
    </item>
  </channel>
</rss>

