<?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 Event listner for when mapview is rerender on browser in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-listner-for-when-mapview-is-rerender-on/m-p/1098866#M74684</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the JSAPI v4.20 to create a loading graphic when the browser is updating the map. I tried using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#event-after-add" target="_self"&gt;"after-add" event&amp;nbsp;&lt;/A&gt;&amp;nbsp;and realize that the "after-add" event is triggered when the layer is added to the mapView object but it could still take a while until the browser actually renders the layer.&lt;/P&gt;&lt;P&gt;Is there an event that can be listened to on when the browser completes the rerender?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
    <pubDate>Thu, 16 Sep 2021 11:53:39 GMT</pubDate>
    <dc:creator>KenjooYeap</dc:creator>
    <dc:date>2021-09-16T11:53:39Z</dc:date>
    <item>
      <title>Event listner for when mapview is rerender on browser</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-listner-for-when-mapview-is-rerender-on/m-p/1098866#M74684</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to use the JSAPI v4.20 to create a loading graphic when the browser is updating the map. I tried using the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-core-Collection.html#event-after-add" target="_self"&gt;"after-add" event&amp;nbsp;&lt;/A&gt;&amp;nbsp;and realize that the "after-add" event is triggered when the layer is added to the mapView object but it could still take a while until the browser actually renders the layer.&lt;/P&gt;&lt;P&gt;Is there an event that can be listened to on when the browser completes the rerender?&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 11:53:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-listner-for-when-mapview-is-rerender-on/m-p/1098866#M74684</guid>
      <dc:creator>KenjooYeap</dc:creator>
      <dc:date>2021-09-16T11:53:39Z</dc:date>
    </item>
    <item>
      <title>Re: Event listner for when mapview is rerender on browser</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-listner-for-when-mapview-is-rerender-on/m-p/1098868#M74685</link>
      <description>&lt;P&gt;Found&amp;nbsp;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-View.html#event-layerview-create" target="_self"&gt;this event&lt;/A&gt;&amp;nbsp;which was what I needed.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;    view.on("layerview-create", function (event) {
      console.log("layerView added");
    });&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 16 Sep 2021 12:01:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/event-listner-for-when-mapview-is-rerender-on/m-p/1098868#M74685</guid>
      <dc:creator>KenjooYeap</dc:creator>
      <dc:date>2021-09-16T12:01:54Z</dc:date>
    </item>
  </channel>
</rss>

