<?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: adding multiple layers dynamically, need to wait for each one to load. in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-layers-dynamically-need-to-wait/m-p/297254#M27330</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can use onLayersAddResult(results) in javascript API 2.0&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 May 2010 23:03:48 GMT</pubDate>
    <dc:creator>Anonymous User</dc:creator>
    <dc:date>2010-05-05T23:03:48Z</dc:date>
    <item>
      <title>adding multiple layers dynamically, need to wait for each one to load.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-layers-dynamically-need-to-wait/m-p/297253#M27329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a recursive call to add multiple services. However, I need to make sure each addLayer doesn't happen till the one before completes. Otherwise, things just don't draw.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there some sort of OnAfterMapDraw event?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alternatively, is there a way to add multiple services at the same time?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Paige&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 20:38:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-layers-dynamically-need-to-wait/m-p/297253#M27329</guid>
      <dc:creator>PaigeBaldassaro</dc:creator>
      <dc:date>2010-05-05T20:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: adding multiple layers dynamically, need to wait for each one to load.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-layers-dynamically-need-to-wait/m-p/297254#M27330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;you can use onLayersAddResult(results) in javascript API 2.0&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 May 2010 23:03:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-layers-dynamically-need-to-wait/m-p/297254#M27330</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2010-05-05T23:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: adding multiple layers dynamically, need to wait for each one to load.</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-layers-dynamically-need-to-wait/m-p/297255#M27331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'll keep that in mind. Thanks for the reply. I wound up finding Layer:onUpdate for adding and map:onRemoveLayer for removing.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 May 2010 16:20:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/adding-multiple-layers-dynamically-need-to-wait/m-p/297255#M27331</guid>
      <dc:creator>PaigeBaldassaro</dc:creator>
      <dc:date>2010-05-06T16:20:34Z</dc:date>
    </item>
  </channel>
</rss>

