<?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 Multiple LayerLists In Web App Cause Slowness in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206199#M19127</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have close to 50 layers in my web app. I thought, for easier access and aesthetics, i would employ multiple layerlists. However, this has made the map extremely slow. It takes upwards of 20 seconds to zoom each extent. I presume that since I have 5 layerlist with filtered layers, this essentially equates to 250 layers? How do I improve performance of the map without losing the multiple layerlists?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2019 14:22:26 GMT</pubDate>
    <dc:creator>RichardRhone</dc:creator>
    <dc:date>2019-10-04T14:22:26Z</dc:date>
    <item>
      <title>Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206199#M19127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have close to 50 layers in my web app. I thought, for easier access and aesthetics, i would employ multiple layerlists. However, this has made the map extremely slow. It takes upwards of 20 seconds to zoom each extent. I presume that since I have 5 layerlist with filtered layers, this essentially equates to 250 layers? How do I improve performance of the map without losing the multiple layerlists?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 14:22:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206199#M19127</guid>
      <dc:creator>RichardRhone</dc:creator>
      <dc:date>2019-10-04T14:22:26Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206200#M19128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What version of the API are you seeing this? I'd like to see if I can trace what is causing the slowness. If you have 50 layers with 5&amp;nbsp;LayerList widgets you shouldn't be seeing a slowdown like that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Oct 2019 22:24:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206200#M19128</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2019-10-07T22:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206201#M19129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Matt,&lt;/P&gt;&lt;P&gt;Im using 4.12&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 12:42:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206201#M19129</guid>
      <dc:creator>RichardRhone</dc:creator>
      <dc:date>2019-10-08T12:42:01Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206202#M19130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks &lt;A href="https://community.esri.com/migrated-users/108313"&gt;Richard Rhone&lt;/A&gt;‌. Can you try using `4.13` which is not yet released but the URL is available. I'm wondering if its still an issue. If it is, i'll create an example using a bunch of layers and&amp;nbsp;multiple LayerLists to test with.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 00:49:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206202#M19130</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2019-10-09T00:49:14Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206203#M19131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;4.13 is actually worse:&amp;nbsp;&lt;/P&gt;&lt;P&gt;4.12 averages out at 18 secs&lt;/P&gt;&lt;P&gt;4.13 averages out at 24 secs&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 12:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206203#M19131</guid>
      <dc:creator>RichardRhone</dc:creator>
      <dc:date>2019-10-09T12:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206204#M19132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/108313"&gt;Richard Rhone&lt;/A&gt;‌ how are you filtering the layers for each LayerList?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Are you filtering them using layer.listMode?&lt;/P&gt;&lt;P&gt;- Are you using `listItemCreatedFunction` to filter them?&lt;/P&gt;&lt;P&gt;- Some other way?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 16:10:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206204#M19132</guid>
      <dc:creator>MattDriscoll</dc:creator>
      <dc:date>2019-10-09T16:10:51Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206205#M19133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Richard,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think we considered having multiple LayerLists in the same app during the design of the widget. Would using GroupLayers help with the ease of use for maps with lots of layers? You can add layers as sublayers to a GroupLayer, which can be expanded or collapsed for ease of use. The visibilityMode and listMode properties will help in that approach. listMode will control whether a layer's list item is visible in the LayerList or if&amp;nbsp;the children layers of a GroupLayer will be visible. visibilityMode allows you to control how layer visibility can be toggled - either allowing one layer to be visible at a time within the group or if any combination of layers can be toggled on or off.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 16:18:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206205#M19133</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2019-10-09T16:18:49Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206206#M19134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Matt...&lt;/P&gt;&lt;P&gt;They are filtered using the example here :&amp;nbsp;&lt;A href="https://community.esri.com/thread/239738-multiple-layerlists-in-web-app"&gt;https://community.esri.com/thread/239738-multiple-layerlists-in-web-app&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 18:57:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206206#M19134</guid>
      <dc:creator>RichardRhone</dc:creator>
      <dc:date>2019-10-09T18:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206207#M19135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kristian,&lt;/P&gt;&lt;P&gt;I have used group layers :&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;/ADD TRANSPORTATION NETWORK GROUP LAYER&lt;BR /&gt; var transportationNetworkGroupLayer = new GroupLayer({&lt;BR /&gt; title: "Transportation Network", visible: true, visibilityMode: "independent", layers: [otherRoadsLayer, townRoadsLayer, classCRoadsLayer, classBRoadsLayer, classARoadsLayer, highwayLayer, railwayLinesLayer] });&lt;BR /&gt; map.add(transportationNetworkGroupLayer);&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;However,&amp;nbsp; there are still alot of layers to show in one layerList.&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;The t&lt;/SPAN&gt;hought was to have multiple layerlists&amp;nbsp;for easier access and aesthetics.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Oct 2019 19:05:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206207#M19135</guid>
      <dc:creator>RichardRhone</dc:creator>
      <dc:date>2019-10-09T19:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206208#M19136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So... I found that the map itself is slow. I have one version with 15 layers and another with 54 layers.&lt;/P&gt;&lt;P&gt;The 15 layer version zooms to extents in less than 1/2 sec. The 50+ layer one zooms in 4 secs. This suggests that its not necessarily the multiple layerlists that are problematic. Is there a limit on the number of layers?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2019 20:58:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206208#M19136</guid>
      <dc:creator>RichardRhone</dc:creator>
      <dc:date>2019-11-12T20:58:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206209#M19137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There isn't an official limit on the number of layers you can have in your map. It depends on a number of factors, including how much your browser can handle, your hardware (desktop/laptop/mobile device), network latency, how large your layers are, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The larger the layer, the heavier the payload in querying for that data. That also means a lot of smaller layers can add up too.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you describe the content of the 54 layers? Are you using them for reference? Editing? Do they represent completely different data for overlay purposes, or do they represent similar features? Based on your snippet above, I figure it's a transportation app. Are they all lines representing road features, or does it include a lot more than that?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 00:00:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206209#M19137</guid>
      <dc:creator>KristianEkenes</dc:creator>
      <dc:date>2019-11-13T00:00:27Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206210#M19138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Its an island webmap so it contains roads, civic features, contours, attractions, parcels etc. The heaviest is the parcel layer, but as you rightly point out, the smaller layers add up. There is no editing but we do query some of the layers. Note that the 15 layers one contains the parcels and other necessary layers. I also utilized groupLayers in the 50+ app but there&amp;nbsp;weren't&amp;nbsp; any significant improvements&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 12:46:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206210#M19138</guid>
      <dc:creator>RichardRhone</dc:creator>
      <dc:date>2019-11-13T12:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple LayerLists In Web App Cause Slowness</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206211#M19139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So finally i get this thing to work! The layerList with Legend was causing the slowness. Apparently, there is a bug or something that cause the slowness once you exceed a certain number of layers. I added a normal layerList widget and a legend wdget and the slowness was significantly reduced&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Dec 2019 20:29:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/multiple-layerlists-in-web-app-cause-slowness/m-p/206211#M19139</guid>
      <dc:creator>RichardRhone</dc:creator>
      <dc:date>2019-12-16T20:29:50Z</dc:date>
    </item>
  </channel>
</rss>

