<?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 Reduce lag and improve performance when load multi layers with Arcgis API in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/156554#M14593</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I work with ArcGIS API for Javascript to display mutli layers on the map (can be up to thousand of layers), mostly MapImageLayer, a few FeatureLayer, TitleLayer and StreamLayer. My method is add all of them to the map and set visible attribute is false. But when I opened the page it was very lag and slowly performance. Please give me some advice, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2018 07:31:27 GMT</pubDate>
    <dc:creator>Trung_KiênTrần</dc:creator>
    <dc:date>2018-06-04T07:31:27Z</dc:date>
    <item>
      <title>Reduce lag and improve performance when load multi layers with Arcgis API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/156554#M14593</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I work with ArcGIS API for Javascript to display mutli layers on the map (can be up to thousand of layers), mostly MapImageLayer, a few FeatureLayer, TitleLayer and StreamLayer. My method is add all of them to the map and set visible attribute is false. But when I opened the page it was very lag and slowly performance. Please give me some advice, thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 07:31:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/156554#M14593</guid>
      <dc:creator>Trung_KiênTrần</dc:creator>
      <dc:date>2018-06-04T07:31:27Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce lag and improve performance when load multi layers with Arcgis API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/156555#M14594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you say multiple layers, I assume you are creating each layer (eg: layer = new arcgisdynamicmapservice(url);) and then adding them individually using map.addLayer()?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would suggest that you create each layer and set the property for each layer (visibility etc.), and push it into an array and add everything in one go using map.addLayers().&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Considering I don't have much to work with, I assumed that the above solution could fix your issue, please post code snippets for further assistance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 10:21:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/156555#M14594</guid>
      <dc:creator>HezronPhilip</dc:creator>
      <dc:date>2018-06-04T10:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce lag and improve performance when load multi layers with Arcgis API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/156556#M14595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much, I will try it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2018 11:55:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/156556#M14595</guid>
      <dc:creator>Trung_KiênTrần</dc:creator>
      <dc:date>2018-06-04T11:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reduce lag and improve performance when load multi layers with Arcgis API</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/1153251#M76631</link>
      <description>&lt;P&gt;With the visibility of the layers set to false by default, does it decrease the load time/improve performance?&lt;/P&gt;</description>
      <pubDate>Mon, 14 Mar 2022 02:19:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/reduce-lag-and-improve-performance-when-load-multi/m-p/1153251#M76631</guid>
      <dc:creator>smitha_thekkarath</dc:creator>
      <dc:date>2022-03-14T02:19:27Z</dc:date>
    </item>
  </channel>
</rss>

