<?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: JAPI 4.x - ETA on layer-loading event ('update-end' event in 3.x) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707315#M65821</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the link! This seems to be what I've been looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #458383;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mapView&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;whenLayerView&lt;/SPAN&gt;(&lt;SPAN style="color: #458383;"&gt;fl&lt;/SPAN&gt;).&lt;SPAN style="color: #7a7a43;"&gt;then&lt;/SPAN&gt;(layerView =&amp;gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; watchUtils.&lt;SPAN style="color: #7a7a43;"&gt;whenFalse&lt;/SPAN&gt;(layerView, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;'updating'&lt;/SPAN&gt;, () =&amp;gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;console&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'The layer is now visible!'&lt;/SPAN&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 05:43:14 GMT</pubDate>
    <dc:creator>KevinHaeni</dc:creator>
    <dc:date>2021-12-12T05:43:14Z</dc:date>
    <item>
      <title>JAPI 4.x - ETA on layer-loading event ('update-end' event in 3.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707311#M65817</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the JSAPI 3.x is was possible to show progress indicators while a (feature) layer was loading - thanks to the update-end event.&lt;/P&gt;&lt;P&gt;Unfortunately, I do not find an equivalent in 4.4 yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any plans to implement this (and quite a few other events that are still missing) soon?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 11:22:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707311#M65817</guid>
      <dc:creator>KevinHaeni</dc:creator>
      <dc:date>2017-08-17T11:22:31Z</dc:date>
    </item>
    <item>
      <title>Re: JAPI 4.x - ETA on layer-loading event ('update-end' event in 3.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707312#M65818</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at &lt;A href="https://community.esri.com/migrated-users/6443"&gt;Rene Rubalcava&lt;/A&gt;‌'s blog: &lt;A class="link-titled" href="http://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/" title="http://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/"&gt;Quick Tip: ArcGIS API 4 for JS - When stuff is ready? - odoenet&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Aug 2017 14:46:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707312#M65818</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2017-08-17T14:46:39Z</dc:date>
    </item>
    <item>
      <title>Re: JAPI 4.x - ETA on layer-loading event ('update-end' event in 3.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707313#M65819</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the 4.XX API, layers are promises. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;let&lt;/SPAN&gt; fLayer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;FeatureLayer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;url&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="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="punctuation token"&gt;;&lt;/SPAN&gt;
map&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;layers&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;flayer&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
fLayer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;then&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;fl &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; 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;'layer is loaded'&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;&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:43:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707313#M65819</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2021-12-12T05:43:11Z</dc:date>
    </item>
    <item>
      <title>Re: JAPI 4.x - ETA on layer-loading event ('update-end' event in 3.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707314#M65820</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. However, the layer promise seems to get resolved as soon as the layer object is created and not when it has been loaded to the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So 'layer is loaded' is displayed almost instantly and the layer might still load data from the mapservice and is busy displaying them in the map.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Aug 2017 09:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707314#M65820</guid>
      <dc:creator>KevinHaeni</dc:creator>
      <dc:date>2017-08-21T09:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: JAPI 4.x - ETA on layer-loading event ('update-end' event in 3.x)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707315#M65821</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the link! This seems to be what I've been looking for:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #458383;"&gt;self&lt;/SPAN&gt;.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;mapView&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;whenLayerView&lt;/SPAN&gt;(&lt;SPAN style="color: #458383;"&gt;fl&lt;/SPAN&gt;).&lt;SPAN style="color: #7a7a43;"&gt;then&lt;/SPAN&gt;(layerView =&amp;gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp; watchUtils.&lt;SPAN style="color: #7a7a43;"&gt;whenFalse&lt;/SPAN&gt;(layerView, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;'updating'&lt;/SPAN&gt;, () =&amp;gt; {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;console&lt;/SPAN&gt;.&lt;SPAN style="color: #7a7a43;"&gt;log&lt;/SPAN&gt;(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;'The layer is now visible!'&lt;/SPAN&gt;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; });
});&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:43:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/japi-4-x-eta-on-layer-loading-event-update-end/m-p/707315#M65821</guid>
      <dc:creator>KevinHaeni</dc:creator>
      <dc:date>2021-12-12T05:43:14Z</dc:date>
    </item>
  </channel>
</rss>

