<?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 There seems to be a bug with visibility and group layers. in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/there-seems-to-be-a-bug-with-visibility-and-group/m-p/237665#M5604</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a map service that can be found at &lt;/SPAN&gt;&lt;A href="http://geoinfo1.lib.uidaho.edu/ArcGIS/rest/services/example_group/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://geoinfo1.lib.uidaho.edu/ArcGIS/rest/services/example_group/MapServer&lt;/A&gt;&lt;SPAN&gt;. This is a basic test service that contains groups. I am unable to hide a layer if it has a parent group that is not hidden. I have tested this with the most basic example as shown below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var dynMapService:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(serviceURL);
dynMapService.id = serviceId;
dynMapService.visible = serviceVisible;
dynMapService.visibleLayers = new ArrayCollection([0]);
map.addLayer(dynMapService);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code should show no layers at all but instead it shows the first "Development" layer. ArcMap of course works as expected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 11:58:21 GMT</pubDate>
    <dc:creator>JoeyGentry</dc:creator>
    <dc:date>2021-12-11T11:58:21Z</dc:date>
    <item>
      <title>There seems to be a bug with visibility and group layers.</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/there-seems-to-be-a-bug-with-visibility-and-group/m-p/237665#M5604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a map service that can be found at &lt;/SPAN&gt;&lt;A href="http://geoinfo1.lib.uidaho.edu/ArcGIS/rest/services/example_group/MapServer" rel="nofollow noopener noreferrer" target="_blank"&gt;http://geoinfo1.lib.uidaho.edu/ArcGIS/rest/services/example_group/MapServer&lt;/A&gt;&lt;SPAN&gt;. This is a basic test service that contains groups. I am unable to hide a layer if it has a parent group that is not hidden. I have tested this with the most basic example as shown below&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var dynMapService:ArcGISDynamicMapServiceLayer = new ArcGISDynamicMapServiceLayer(serviceURL);
dynMapService.id = serviceId;
dynMapService.visible = serviceVisible;
dynMapService.visibleLayers = new ArrayCollection([0]);
map.addLayer(dynMapService);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This code should show no layers at all but instead it shows the first "Development" layer. ArcMap of course works as expected.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 11:58:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/there-seems-to-be-a-bug-with-visibility-and-group/m-p/237665#M5604</guid>
      <dc:creator>JoeyGentry</dc:creator>
      <dc:date>2021-12-11T11:58:21Z</dc:date>
    </item>
  </channel>
</rss>

