<?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: How to know when a layer is actually done being applied? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-layer-is-actually-done-being/m-p/398120#M36685</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found &lt;A href="https://community.esri.com/migrated-users/6443"&gt;Rene Rubalcava&lt;/A&gt;‌'s blog pretty helpful on the new way of finding out when things are ready:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/" title="https://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/"&gt;https://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jan 2020 19:32:46 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2020-01-21T19:32:46Z</dc:date>
    <item>
      <title>How to know when a layer is actually done being applied?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-layer-is-actually-done-being/m-p/398119#M36684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have the following code that shows a MapImageLayer. After the last line is called, document.body.style.cursor = "default"; there is a lag time of 20 seconds before the layer is actually visible on the map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the cursor is set back to default, the user is thinking the process is over and the layer should be there. I would like to set the cursor back to default when the layer is actually shown on the map. How do I get that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;function OnAppliedMarketsSuccess(response, userContext, methodName) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;var geographies = response.toString();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;var marketLayer = appliedMarketLayer.findSublayerById(0);&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;marketLayer.definitionExpression = "ID_ in (" + geographies + ")";&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;marketLayer.visible = true;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;document.body.style.cursor = "default";&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 19:26:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-layer-is-actually-done-being/m-p/398119#M36684</guid>
      <dc:creator>DavidKucharski</dc:creator>
      <dc:date>2020-01-21T19:26:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a layer is actually done being applied?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-layer-is-actually-done-being/m-p/398120#M36685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've found &lt;A href="https://community.esri.com/migrated-users/6443"&gt;Rene Rubalcava&lt;/A&gt;‌'s blog pretty helpful on the new way of finding out when things are ready:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/" title="https://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/"&gt;https://odoe.net/blog/quick-tip-arcgis-api-4-js-stuff-ready/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jan 2020 19:32:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-layer-is-actually-done-being/m-p/398120#M36685</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2020-01-21T19:32:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to know when a layer is actually done being applied?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-layer-is-actually-done-being/m-p/398121#M36686</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you. That did it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Jan 2020 13:44:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-know-when-a-layer-is-actually-done-being/m-p/398121#M36686</guid>
      <dc:creator>DavidKucharski</dc:creator>
      <dc:date>2020-01-22T13:44:34Z</dc:date>
    </item>
  </channel>
</rss>

