<?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 How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript) in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473160#M43875</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/vectortilelayer-amd.html"&gt;VectorTileLayer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I can't find any event that fires when layer rendering is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'load' event fires:&lt;/P&gt;&lt;TABLE style="color: #4d4d4d; background-color: #fafafa; border-width: 1px 1px 0px; border-style: solid; border-color: #d9d9d9; font-size: 14px; margin: 0.1em 0px 0.3em;"&gt;&lt;TBODY&gt;&lt;TR style="border-bottom: 1px solid #ededed;"&gt;&lt;TD class="" style="color: #595959; background-color: #ededed; border-width: 0px 0px 1px; border-style: solid; border-color: #d9d9d9; font-size: 14px; padding: 4px 6px;"&gt;Fires after layer &lt;STRONG&gt;properties&lt;/STRONG&gt; for the layer are successfully populated.&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="background-color: #fafafa; border-bottom: 1px solid #ededed;"&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically load event it's very quick (it's a small json) but it's not what I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'update-end' not fires.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe there is other method to determine if&amp;nbsp;VectorTileLayer is finish to render.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Dvir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 20 Jan 2020 22:34:11 GMT</pubDate>
    <dc:creator>DvirShimol</dc:creator>
    <dc:date>2020-01-20T22:34:11Z</dc:date>
    <item>
      <title>How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473160#M43875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to use &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/vectortilelayer-amd.html"&gt;VectorTileLayer&lt;/A&gt;&lt;/P&gt;&lt;P&gt;But I can't find any event that fires when layer rendering is done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'load' event fires:&lt;/P&gt;&lt;TABLE style="color: #4d4d4d; background-color: #fafafa; border-width: 1px 1px 0px; border-style: solid; border-color: #d9d9d9; font-size: 14px; margin: 0.1em 0px 0.3em;"&gt;&lt;TBODY&gt;&lt;TR style="border-bottom: 1px solid #ededed;"&gt;&lt;TD class="" style="color: #595959; background-color: #ededed; border-width: 0px 0px 1px; border-style: solid; border-color: #d9d9d9; font-size: 14px; padding: 4px 6px;"&gt;Fires after layer &lt;STRONG&gt;properties&lt;/STRONG&gt; for the layer are successfully populated.&lt;/TD&gt;&lt;/TR&gt;&lt;TR style="background-color: #fafafa; border-bottom: 1px solid #ededed;"&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically load event it's very quick (it's a small json) but it's not what I am looking for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'update-end' not fires.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;maybe there is other method to determine if&amp;nbsp;VectorTileLayer is finish to render.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Dvir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jan 2020 22:34:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473160#M43875</guid>
      <dc:creator>DvirShimol</dc:creator>
      <dc:date>2020-01-20T22:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473161#M43876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try the event "update" which is part of inherited class "Layer".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also try other events "update-end" and "update-start"&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jsapi/layer-amd.html#event-update" title="https://developers.arcgis.com/javascript/3/jsapi/layer-amd.html#event-update"&gt;Layer | API Reference | ArcGIS API for JavaScript 3.31&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 01:56:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473161#M43876</guid>
      <dc:creator>AshokVanam1</dc:creator>
      <dc:date>2020-01-21T01:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473162#M43877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried 'update' and 'update-end' unfortunately it's not working.&lt;/P&gt;&lt;P&gt;example code can see here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://codepen.io/Dvirus/pen/wvBRgjg?editors=1001" title="https://codepen.io/Dvirus/pen/wvBRgjg?editors=1001"&gt;https://codepen.io/Dvirus/pen/wvBRgjg?editors=1001&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Dvir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 17:07:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473162#M43877</guid>
      <dc:creator>DvirShimol</dc:creator>
      <dc:date>2020-01-21T17:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473163#M43878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The `update-start` and `update-end` events are not firing for the VectorTileLayer. We created an issue for this and I will give you an update once it is fixed. In meantime, please try using &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/map-amd.html#event-update-end"&gt;Map.update-end&lt;/A&gt; event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 16:26:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473163#M43878</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-01-22T16:26:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473164#M43879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Thanks for create issue for this and I will&amp;nbsp;glad to be updated once it is fixed.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;unfortunately even&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fdevelopers.arcgis.com%2Fjavascript%2F3%2Fjsapi%2Fmap-amd.html%23event-update-end" rel="nofollow" style="color: #287433; background-color: #ffffff; border: 0px; text-decoration: none; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;Map.update-end&lt;/A&gt;&lt;SPAN style="background-color: #ffffff;"&gt;event not fired.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I have update the codepen&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;A class="link-titled" href="https://codepen.io/Dvirus/pen/wvBRgjg?editors=1000" title="https://codepen.io/Dvirus/pen/wvBRgjg?editors=1000"&gt;https://codepen.io/Dvirus/pen/wvBRgjg?editors=1000&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Br,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Dvir.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 11:51:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473164#M43879</guid>
      <dc:creator>DvirShimol</dc:creator>
      <dc:date>2020-01-23T11:51:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473165#M43880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you add a basemap to the map constructor, the map's "update-start" and "update-end" events will fire.&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;var&lt;/SPAN&gt; map &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;Map&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"map"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  center&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;[&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;2.3508&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;48.8567&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;]&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// longitude, latitude&lt;/SPAN&gt;
  zoom&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="number token"&gt;7&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
  basemap&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"topo"&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;/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 20:55:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473165#M43880</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2021-12-11T20:55:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473166#M43881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;basemap "topo"&amp;nbsp;It is &lt;STRONG&gt;not&lt;/STRONG&gt; a &lt;STRONG&gt;vector&lt;/STRONG&gt; map&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I need to use "topo-vector"&amp;nbsp;which it's a &lt;STRONG&gt;vector&lt;/STRONG&gt; map.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The problem is that I need to use vector map but I can't know when it's finish to redraw/render.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="text-decoration: underline;"&gt;None of those vector maps not fires 'update-end':&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;dark-gray-vector,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;gray-vector,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;streets-vector,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;topo-vector,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;streets-night-vector,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;streets-relief-vector,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;streets-navigation-vector&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried also to add the layer to map. still the same.&lt;/P&gt;&lt;P&gt;Thanks to&lt;A href="https://community.esri.com/migrated-users/51882"&gt;Undral Batsukh&lt;/A&gt;&amp;nbsp;&lt;STRONG style="background-color: #ffffff; color: #a9a9a9; font-weight: 500; "&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;SPAN style="color: #000000;"&gt;&lt;STRONG style="background-color: #ffffff; font-weight: 500; "&gt;for opening issue for this, and I hope that issue will be fixed soon.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Dvir.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2020 18:24:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473166#M43881</guid>
      <dc:creator>DvirShimol</dc:creator>
      <dc:date>2020-01-23T18:24:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a VectorTileLayer is finished rendering? (ArcGIS API for JavaScript)</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473167#M43882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I should have checked for the map update events when the basemap is vector tile layer. I confirmed that map update events are indeed not firing for vectortilelayer basemaps. This issue will be fixed at our next release (3.32).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for reporting this issue,&lt;/P&gt;&lt;P&gt;-Undral&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 24 Jan 2020 16:18:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-vectortilelayer-is-finished/m-p/473167#M43882</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-01-24T16:18:37Z</dc:date>
    </item>
  </channel>
</rss>

