<?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: Determine when map tiles have been downloaded in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520751#M48545</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I'm watching that property..&amp;nbsp; Yes I can see that eventually the updating value changes to false once the pbfs are downloaded.&amp;nbsp; However from page load to pbf download completion, the updating property toggles between true and false multiple times, making it difficult to figure out the exact toggle that I want to act on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to also use it in combination with the basemap properties to identify the final toggle of updating.&amp;nbsp; However they are none distinguishable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My watcher function provides the following output between page load and completion of pbf requests.&lt;/P&gt;&lt;DIV style="color: #f8f8f2; background-color: #272822; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f2;"&gt;mapView&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;watch&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'updating'&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #fd971f;"&gt;view&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;console&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;log&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'view updating'&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;view&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'basemap Status'&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #fd971f;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;basemap&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;loadStatus&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f2;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;view updating false basemap Status loaded&lt;BR /&gt;view updating true basemap Status loaded&lt;BR /&gt;view updating false basemap Status loaded&lt;BR /&gt;view updating true basemap Status loaded&lt;BR /&gt;view updating false basemap Status loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The updating toggles occur in quick succession, so I could implement the spinner logic in a timer to capture the final state of the updating property but that seems a bit hackish.&amp;nbsp; I'm thinking there has to be another property I can use in combination to precisely identify completed download of map tiles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 05 Jan 2018 19:27:54 GMT</pubDate>
    <dc:creator>yangwen</dc:creator>
    <dc:date>2018-01-05T19:27:54Z</dc:date>
    <item>
      <title>Determine when map tiles have been downloaded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520749#M48543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to overlay the map container with a loading spinner before the map is ready for view and interaction.&amp;nbsp; To that end, the completion of basemap tiles download is necessary&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a property of Map, MapView, or Basemap that will provide that insight?&amp;nbsp;&amp;nbsp;When I watch the basemap.loaded property, it changes to true even before the requests for the pbf files.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 18:35:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520749#M48543</guid>
      <dc:creator>yangwen</dc:creator>
      <dc:date>2018-01-05T18:35:39Z</dc:date>
    </item>
    <item>
      <title>Re: Determine when map tiles have been downloaded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520750#M48544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;You need to put a watch on the views updating property.&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#updating" title="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#updating"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#updating&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 18:42:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520750#M48544</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-01-05T18:42:17Z</dc:date>
    </item>
    <item>
      <title>Re: Determine when map tiles have been downloaded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520751#M48545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok I'm watching that property..&amp;nbsp; Yes I can see that eventually the updating value changes to false once the pbfs are downloaded.&amp;nbsp; However from page load to pbf download completion, the updating property toggles between true and false multiple times, making it difficult to figure out the exact toggle that I want to act on.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried to also use it in combination with the basemap properties to identify the final toggle of updating.&amp;nbsp; However they are none distinguishable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My watcher function provides the following output between page load and completion of pbf requests.&lt;/P&gt;&lt;DIV style="color: #f8f8f2; background-color: #272822; font-weight: normal; font-size: 12px;"&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f2;"&gt;mapView&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;watch&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'updating'&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #fd971f;"&gt;view&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;=&amp;gt;&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt; {&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f2;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;console&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #66d9ef;"&gt;log&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'view updating'&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;view&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #e6db74;"&gt;'basemap Status'&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #fd971f;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;basemap&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;loadStatus&lt;/SPAN&gt;&lt;SPAN style="color: #f8f8f2;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #f8f8f2;"&gt; });&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;BR /&gt;view updating false basemap Status loaded&lt;BR /&gt;view updating true basemap Status loaded&lt;BR /&gt;view updating false basemap Status loaded&lt;BR /&gt;view updating true basemap Status loaded&lt;BR /&gt;view updating false basemap Status loaded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The updating toggles occur in quick succession, so I could implement the spinner logic in a timer to capture the final state of the updating property but that seems a bit hackish.&amp;nbsp; I'm thinking there has to be another property I can use in combination to precisely identify completed download of map tiles.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 19:27:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520751#M48545</guid>
      <dc:creator>yangwen</dc:creator>
      <dc:date>2018-01-05T19:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Determine when map tiles have been downloaded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520752#M48546</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; See if this works for you:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; view&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;when&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; watchUtils&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;whenFalse&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;view&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;basemapView&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;baseLayerViews&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getItemAt&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;'updating'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; updating &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;view&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;stationary&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Done Updating'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; watchUtils&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;whenTrueOnce&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;view&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"stationary"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; still &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&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; console&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;log&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;'Done Updating'&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 22:43:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520752#M48546</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T22:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Determine when map tiles have been downloaded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520754#M48548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yang,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Strange it worked for me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 21:18:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520754#M48548</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2018-01-05T21:18:56Z</dc:date>
    </item>
    <item>
      <title>Re: Determine when map tiles have been downloaded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520755#M48549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Probably due to differences in our map's&amp;nbsp;features make up.. I'll keep looking into it.&amp;nbsp; Appreciate the sample code!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Jan 2018 21:22:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520755#M48549</guid>
      <dc:creator>yangwen</dc:creator>
      <dc:date>2018-01-05T21:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: Determine when map tiles have been downloaded</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520753#M48547</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'Done Updating' does not&amp;nbsp;print for me.&amp;nbsp; I'm also providing output below that intermixes&amp;nbsp;output from a view.stationary watcher.&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;dcp-map.component.ts:188 view updating true basemap Status loaded
14:08:19.840 dcp-map.component.ts:202 view stationary now zoom 9 scale 577790.554289 center -11570638.932396324, 3836411.2886857823 extent {__accessor__: b}
14:08:20.133 dcp-map.component.ts:188 view updating false basemap Status loaded
14:08:24.835 dcp-map.component.ts:188 view updating true basemap Status loaded
14:08:25.149 dcp-map.component.ts:188 view updating false basemap Status loaded&lt;/PRE&gt;&lt;P&gt;Very obscure&amp;nbsp;lifecycle behavior.&amp;nbsp; None of this is documented huh, I couldn't find any?&amp;nbsp; I wish they have implemented first class events.. would avoid a lot of this property watching spaghetti logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edit: It also appears the updating property toggles when the map is panned and more basemap tiles are requests.&amp;nbsp; This makes sense.&amp;nbsp; However I also need to separate the post-initial load updating activities from the updating activities that's part of the initial load.&amp;nbsp; The initial load is typically much slower, and thus requires some UI indicator.&amp;nbsp; Subsequent tile downloads from pan or zoom actions are much quicker and no progress indicator is needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can manage this manually outside of the arcgis instances, but are there flags or other properties to denote post initial loading?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:34:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/determine-when-map-tiles-have-been-downloaded/m-p/520753#M48547</guid>
      <dc:creator>yangwen</dc:creator>
      <dc:date>2021-12-12T16:34:07Z</dc:date>
    </item>
  </channel>
</rss>

