<?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: visibleLayers and setVisibleLayers in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272438#M25122</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Interesting that this discussion has gone cold.&amp;nbsp; I still would like some input on the following issues:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;It does work with a large list of layers IF/WHEN you are using a proxy page. - DUH!!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do we take that as sarcasm? Who would think that using a proxy page would have any affect at all in that situation. Not me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is interesting that this went cold. I have a custom layer control that I developed, started work on prior to ESRI including one in the API. It still handles situations that ESRI's control does not. I also encountered the group layer issue but have yet to dive into gaining a full understanding of it. As I read this post I was hoping to see a response from Mr. Neilson / SharpGIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder how ESRI's layer control handles group layers. Anyone try that out? Hoping to avoid a couple days of experimenting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 28 Jul 2011 15:25:46 GMT</pubDate>
    <dc:creator>TonyBacon</dc:creator>
    <dc:date>2011-07-28T15:25:46Z</dc:date>
    <item>
      <title>visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272425#M25109</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;So I started playing with a simple custom legend by trying the following code against a DynamicLayer:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;
&amp;nbsp; var vL = df_layer_data.visibleLayers;
&amp;nbsp; var layer_id_index = dojo.indexOf(vL, 2);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layer_id_index != -1)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vL.splice(layer_id_index, 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vL.push(2);

&amp;nbsp; df_layer_data.setVisibleLayers(vL);
&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I fully expected to see Layer #2 (a pipeline layer in this case) toggle visibility.&amp;nbsp; However, it didn't.&amp;nbsp; After a few minutes of "hacking", I found the problem, the service is a compilation of grouped feature classes and the setVisibleLayers call doesn't like having the ID's for the group layers in the array.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If setVisibleLayers (and maybe other functions) doesn't like and can't handle group layers, why does visibleLayers return them?&amp;nbsp; There might just be a great answer to that and would really like to hear it so I can learn something new today (or whenever).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Apr 2011 20:05:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272425#M25109</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2011-04-26T20:05:20Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272426#M25110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;So I started playing with a simple custom legend by trying the following code against a DynamicLayer:&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; var vL = df_layer_data.visibleLayers;
&amp;nbsp; var layer_id_index = dojo.indexOf(vL, 2);

&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (layer_id_index != -1)
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vL.splice(layer_id_index, 0);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; else
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vL.push(2);

&amp;nbsp; df_layer_data.setVisibleLayers(vL);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;I fully expected to see Layer #2 (a pipeline layer in this case) toggle visibility.&amp;nbsp; However, it didn't.&amp;nbsp; After a few minutes of "hacking", I found the problem, the service is a compilation of grouped feature classes and the setVisibleLayers call doesn't like having the ID's for the group layers in the array.&lt;BR /&gt;&lt;BR /&gt;If setVisibleLayers (and maybe other functions) doesn't like and can't handle group layers, why does visibleLayers return them?&amp;nbsp; There might just be a great answer to that and would really like to hear it so I can learn something new today (or whenever).&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You are on the right track. Just be aware of a couple of things. Suppose you have a parent layer 0, and a couple of sublayer 1 and 2. If you set the parent layer 0 visible, you still have to set the visibility of layer 1 and 2 for them to show or not show - these visible layer array [0,1] or [0,2] or [0,1,2] are legal, while those - [1] or [2] or [1,2] are illegal. If you set parent layer 0 not visible, then neither 1 nor 2 should in visible layer array. You can use LayerInfo's parentLayerId and subLayerIds properties to manipulate the situation.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:18:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272426#M25110</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-11T13:18:18Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272427#M25111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;From my testing I have found different results than what your post would suggest, for example:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sample MapService&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Facility Layer(0)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Group Layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Building(1)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Pipeline(2)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Encasement(3)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Another Facility Layer(4)&amp;nbsp; - Group Layer&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Vaults(5)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Fittings(6)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; Easements(7)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;All within one dynamic map service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Scenario One:&lt;/STRONG&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var vL = [0,1,2,3,4,5,6,7];&amp;nbsp;&amp;nbsp;&amp;nbsp; -Visible Layer Array
var layer_id_index = dojo.indexOf(vL, 2);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
if (layer_id_index != -1)
vL.splice(layer_id_index, 1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
dynamic_layer_data.setVisibleLayers(vL);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;No change in visible layers.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Modification to Code&lt;/STRONG&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var viz_layer = [1,2,3,5,6,7];&amp;nbsp; - Remove the GroupLayer ID
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Pipeline Layer is �??Hidden�?�.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have found that including the GroupLayer ID�??s in the visible layer array causes the setVisibleLayers method to fail (ie. [0,1,2] is a not-valid/illegal and [1,2] is a valid/legal array)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Scenario Two:&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If the dynamic_layer_data contains a large list of layers (I have tested against 633 with divided across 75 group layers), the same code above under the modified scenario does not work.&amp;nbsp; I could painstaking try to find the �??cut-off�?� point but would like to know if there is a definitive (ESRI) answer on if the setVisibleLayers method works on an infinite number of layers or if it can only handle 50, 100, etc.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:18:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272427#M25111</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2021-12-11T13:18:21Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272428#M25112</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;From my testing I have found different results than what your post would suggest, for example:&lt;BR /&gt;&lt;BR /&gt;Sample MapService&lt;BR /&gt;&lt;BR /&gt;Facility Layer(0)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Group Layer&lt;BR /&gt; Building(1)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;BR /&gt; Pipeline(2)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;BR /&gt; Encasement(3)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;BR /&gt;Another Facility Layer(4)&amp;nbsp; - Group Layer&lt;BR /&gt; Vaults(5)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;BR /&gt; Fittings(6)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;BR /&gt; Easements(7)&amp;nbsp;&amp;nbsp;&amp;nbsp; - Feature Class&lt;BR /&gt;&lt;BR /&gt;All within one dynamic map service.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Scenario One:&lt;/STRONG&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var vL = [0,1,2,3,4,5,6,7];&amp;nbsp;&amp;nbsp;&amp;nbsp; -Visible Layer Array
var layer_id_index = dojo.indexOf(vL, 2);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
if (layer_id_index != -1)
vL.splice(layer_id_index, 1);
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
dynamic_layer_data.setVisibleLayers(vL);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;BR /&gt;No change in visible layers.&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Modification to Code&lt;/STRONG&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
var viz_layer = [1,2,3,5,6,7];&amp;nbsp; - Remove the GroupLayer ID
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Results:&lt;/STRONG&gt;&lt;BR /&gt;Pipeline Layer is �??Hidden�?�.&lt;BR /&gt;&lt;BR /&gt;I have found that including the GroupLayer ID�??s in the visible layer array causes the setVisibleLayers method to fail (ie. [0,1,2] is a not-valid/illegal and [1,2] is a valid/legal array)&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;Scenario Two:&lt;/STRONG&gt;&lt;BR /&gt;If the dynamic_layer_data contains a large list of layers (I have tested against 633 with divided across 75 group layers), the same code above under the modified scenario does not work.&amp;nbsp; I could painstaking try to find the �??cut-off�?� point but would like to know if there is a definitive (ESRI) answer on if the setVisibleLayers method works on an infinite number of layers or if it can only handle 50, 100, etc.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I went back looking at my code and my notes. i have done it in silverlight/wpf api which is almost identical to js api in terms of visibility properties and methods. What i said here is exactly what my notes said. So I tested this issue using JS api and an esri map services: &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer&lt;/A&gt;&lt;SPAN&gt;. You are largely right on this expect I found out that whehter putting group layer id in visible id array or not doesn't make any different (visible = [0, 1, 3, 4, 5] vs visible = [0, 1, 2, 3, 4, 5] -2 is the group layer). I am very interested in ESRI or someone's input on this.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:18:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272428#M25112</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2021-12-11T13:18:24Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272429#M25113</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am still not getting the same results with the group_layer_id issue, however, the bigger challenge right now is the fact that the setVisibleLayers method crashes the service with a large number of layers in the array (500+ for a large area map that is our production service representing 80 facilitieis across 6 counties).&amp;nbsp; It creates a cache image of the current screen when I toggle a layer, then if I zoom-out / pan, all I get is that cached image of the dynamic service with no-redraw / refresh.&amp;nbsp; All other services respond correctly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I agree, some insight/input from ESRI staff would be great on both issues.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 19:15:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272429#M25113</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2011-04-27T19:15:45Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272430#M25114</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am still not getting the same results with the group_layer_id issue, however, the bigger challenge right now is the fact that the setVisibleLayers method crashes the service with a large number of layers in the array (500+ for a large area map that is our production service representing 80 facilitieis across 6 counties).&amp;nbsp; It creates a cache image of the current screen when I toggle a layer, then if I zoom-out / pan, all I get is that cached image of the dynamic service with no-redraw / refresh.&amp;nbsp; All other services respond correctly.&lt;BR /&gt;&lt;BR /&gt;I agree, some insight/input from ESRI staff would be great on both issues.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One thing i remembered from reading the document (David Peter's "Building a GIS: System Architecture Design Strategies for Managers") is that avoid to put too many layers in a one map services and tried to split layers into several map services.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 19:54:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272430#M25114</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-04-27T19:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272431#M25115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I had some time today and just wanted to comment.&amp;nbsp; Hopefully the following will help resolve any unsettled issues regarding visible layers and how to control them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I did some fact checking and as expected visibleLayers returns an array of visible layer index values and does not return group layer index values.&amp;nbsp; See my screen shots.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The key way to dynamically manipulate what's visible is by adding or subtracting layer index values in an array which gets passed into setVisibleLayers().&amp;nbsp; This can be done by using native splice and push JavaScript methods.&amp;nbsp; See this Esri sample, specifically the toggle function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/widget_legendvisiblelayers.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/widget_legendvisiblelayers.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As for a limit to the number of layers which can be passed into setVisibleLayers, I am not aware of any.&amp;nbsp; Hopefully this helps.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards, &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug Carroll, ESRI Support Services SDK Team, Technical Lead&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://support.esri.com/"&gt;http://support.esri.com/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 21:10:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272431#M25115</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2011-04-27T21:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272432#M25116</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting concept, except I don't want to try to manage multiple MXD/MSD files or lump things together, the organization we have makes sense within the facilities we manage.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Apr 2011 22:11:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272432#M25116</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2011-04-27T22:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272433#M25117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Interesting concept, except I don't want to try to manage multiple MXD/MSD files or lump things together, the organization we have makes sense within the facilities we manage.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I totally understand. What David Peters said is from the performance point of view in term of system design and network.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 11:50:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272433#M25117</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-04-28T11:50:01Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272434#M25118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I had some time today and just wanted to comment.&amp;nbsp; Hopefully the following will help resolve any unsettled issues regarding visible layers and how to control them.&lt;BR /&gt;&lt;BR /&gt;I did some fact checking and as expected visibleLayers returns an array of visible layer index values and does not return group layer index values.&amp;nbsp; See my screen shots.&lt;BR /&gt;&lt;BR /&gt;The key way to dynamically manipulate what's visible is by adding or subtracting layer index values in an array which gets passed into setVisibleLayers().&amp;nbsp; This can be done by using native splice and push JavaScript methods.&amp;nbsp; See this Esri sample, specifically the toggle function.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/widget_legendvisiblelayers.html"&gt;http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/widget_legendvisiblelayers.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As for a limit to the number of layers which can be passed into setVisibleLayers, I am not aware of any.&amp;nbsp; Hopefully this helps.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards, &lt;BR /&gt;Doug Carroll, ESRI Support Services SDK Team, Technical Lead&lt;BR /&gt;&lt;A href="http://support.esri.com/"&gt;http://support.esri.com/&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Doug, I respect what you said, but that is not what i got when i test on &lt;/SPAN&gt;&lt;A href="http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/"&gt;http://sampleserver1.arcgisonline.com/ArcGIS/rest/services/Demographics/ESRI_Census_USA/MapServer/&lt;/A&gt;&lt;SPAN&gt;. It cleared show that layer.visibleLayers =[0,1,2,3,4,5]. among them 2 is a group layer. Do i missed something?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 12:06:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272434#M25118</guid>
      <dc:creator>HemingZhu</dc:creator>
      <dc:date>2011-04-28T12:06:09Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272435#M25119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I agree with hzhu, the actual returned results DO include group (and sub-group) layer ID's as shown in my attached screenshot which is nothing more than&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;
&amp;nbsp; alert(dynamic_layer_data.visibleLayers);
&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Screenshot #1 is the alert display, #2 is the rest page details for the service (Layer 0 &amp;amp; 4 are group layers, 20 is a subgroup).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running version 2.2 of the jsapi.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would really like to know the how/why's of getting different information between ESRI and "us"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can handle the removal of group layers (and sublayers) via code, and actually have plans to use the group layer ID's to control toggle of all children layers, but I would still like some answers/guidance.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(thanks hzhu for using ESRI standard mapservices to document issue, then its not "well it must be your data....")&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 13:18:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272435#M25119</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2021-12-11T13:18:27Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272436#M25120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Some more notes to add to the discussion:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A mapservice with sublayers will toggle layer visibility with or without removing the subgroup.layerid from the setVisibility array&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Allowing the group layer id's to be included in the setVisibility array has the following effects:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Toggle group visibility (adding/removing group layer id from array) has no effect on children layers IF THEY are already visible.&amp;nbsp; If a child layer is not visible, making the group layer visible/not visible will effect behaviour of child.&amp;nbsp; In other words, if the default visibility is false when the service is added, then you can effect child visibility with the group layer (addition or removal) from setVisibility array otherwise if default visibility is true, group layer toggle has no effect on child visibility.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;While I don't want to publish a service with all child layers default visibility set to false, this MAY allow group layer toggle to function as outlined by Doug.&amp;nbsp; You could publish it that way, then on onLayersAddResult set them back to true (along with their checkboxes in your custom legend).&amp;nbsp; But that is extra coding, and who wants to that?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any more comments/ideas?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2011 21:09:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272436#M25120</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2011-04-28T21:09:14Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272437#M25121</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Interesting that this discussion has gone cold.&amp;nbsp; I still would like some input on the following issues:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Why setVisibility has problems if group layer id's are included in the array (and default layer visibility is set to true for children layers)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- Why setVisibility does not work with a large list of layers?&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(EDIT)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It does work with a large list of layers IF/WHEN you are using a proxy page. - DUH!!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2011 16:36:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272437#M25121</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2011-05-03T16:36:24Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272438#M25122</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Interesting that this discussion has gone cold.&amp;nbsp; I still would like some input on the following issues:&lt;BR /&gt;&lt;BR /&gt;...&lt;BR /&gt;&lt;BR /&gt;It does work with a large list of layers IF/WHEN you are using a proxy page. - DUH!!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Do we take that as sarcasm? Who would think that using a proxy page would have any affect at all in that situation. Not me.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It is interesting that this went cold. I have a custom layer control that I developed, started work on prior to ESRI including one in the API. It still handles situations that ESRI's control does not. I also encountered the group layer issue but have yet to dive into gaining a full understanding of it. As I read this post I was hoping to see a response from Mr. Neilson / SharpGIS.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wonder how ESRI's layer control handles group layers. Anyone try that out? Hoping to avoid a couple days of experimenting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Jul 2011 15:25:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272438#M25122</guid>
      <dc:creator>TonyBacon</dc:creator>
      <dc:date>2011-07-28T15:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272439#M25123</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I think I've got this figured out, and why things are (seemingly) working whacky&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;given the layer structure&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[0] - group layer 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (visible)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[1] - - layer 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (hidden)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[2] - - layer 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (visible)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[3] - - group layer 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (hidden)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[4] - - - layer 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (visible)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[5] - - - layer 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (hidden)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the layer.visibleLayers array you should see values [0,2,3] for the visible layers. To turn off layer 2, the visibleLayers array needs to be set to: [3]. Please note that layer 0 is missing, even though it is visible. If you include layer 0, you will "turn on" all of group layer 0's sublayers!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The key to making it work: When setting visibility for sublayers, only include "leaf" layerids. The sole exception to this, is of course, if you're turning "on" a group layer, in which case you want to include the group id number in the array.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Steve G.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Aug 2011 21:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272439#M25123</guid>
      <dc:creator>StevenGriffith</dc:creator>
      <dc:date>2011-08-02T21:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272440#M25124</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Steve you are exactly correct in your analysis.&amp;nbsp; The method works on small services (small number of layers).&amp;nbsp; The challenge is making the method work on a service with a large number of layers (100+).&amp;nbsp; The method "errors" by cropping your service to the current extent and it does not change visibility on the selected layer(s).&amp;nbsp; Has anyone successfully implement a layer legend with visibility options on a service with a large number of layers (100+) and group layers?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//Update&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Large map service (618 layers of which 70 or so are group layers)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;REQUIRES a proxy page - however, setting the alwaysUseProxy=true; is what causes the "error" of cropping the service (and not changing visible status). I can only guess the proxy requirement is due to the large number of layers, although why setting alswasyUserProxy=true causes errors is more than puzzling.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Aug 2011 14:14:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272440#M25124</guid>
      <dc:creator>HeathClark</dc:creator>
      <dc:date>2011-08-04T14:14:29Z</dc:date>
    </item>
    <item>
      <title>Re: visibleLayers and setVisibleLayers</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272441#M25125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I am still not getting the same results with the group_layer_id issue, however, the bigger challenge right now is the fact that the setVisibleLayers method crashes the service with a large number of layers in the array (500+ for a large area map that is our production service representing 80 facilitieis across 6 counties).&amp;nbsp; It creates a cache image of the current screen when I toggle a layer, then if I zoom-out / pan, all I get is that cached image of the dynamic service with no-redraw / refresh.&amp;nbsp; All other services respond correctly.&lt;BR /&gt;&lt;BR /&gt;I agree, some insight/input from ESRI staff would be great on both issues.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;this code pasted here fixed similar issues on my app&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; //if there aren't any layers visible set the array value to = -1 &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(visible.length === 0){ &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible.push(-1); &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jan 2012 20:50:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/visiblelayers-and-setvisiblelayers/m-p/272441#M25125</guid>
      <dc:creator>GabiVoicu</dc:creator>
      <dc:date>2012-01-10T20:50:45Z</dc:date>
    </item>
  </channel>
</rss>

