<?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: Dynamic_TOC sample - get &amp;quot;visible&amp;quot; layers array in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230651#M5446</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can get the list of visible layers from the layer itself at:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#visibleLayers"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#visibleLayers&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Dasa.&amp;nbsp; I managed to figure out the syntax for getting the visible layers array collection and using it as an array.&amp;nbsp; I'm learning this stuff as I go.:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 10 Nov 2010 14:43:20 GMT</pubDate>
    <dc:creator>MatthewStarry</dc:creator>
    <dc:date>2010-11-10T14:43:20Z</dc:date>
    <item>
      <title>Dynamic_TOC sample - get &amp;amp;quot;visible&amp;amp;quot; layers array</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230649#M5444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the Dynamic_TOC (Dynamic Map Layers on/off) sample...&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=Dynamic_TOC"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=Dynamic_TOC&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How could I get the array of visible layers as set in the TOC and use it in the application code?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From my understanding, the layerInfos variable in the LayerTOC.mxml component gets updated when the user checks or unchecks the box next to the layer name.&amp;nbsp; I would want to use that variable in the Dynamic_TOC.mxml application code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is probably simple but I would really appreciate any help/direction.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 16:26:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230649#M5444</guid>
      <dc:creator>MatthewStarry</dc:creator>
      <dc:date>2010-11-09T16:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic_TOC sample - get "visible" layers array</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230650#M5445</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can get the list of visible layers from the layer itself at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#visibleLayers"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#visibleLayers&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you still need access to LayerTOC.layerInfos, you can make it public.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Nov 2010 16:42:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230650#M5445</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-11-09T16:42:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic_TOC sample - get "visible" layers array</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230651#M5446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;You can get the list of visible layers from the layer itself at:&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#visibleLayers"&gt;http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/ArcGISDynamicMapServiceLayer.html#visibleLayers&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks, Dasa.&amp;nbsp; I managed to figure out the syntax for getting the visible layers array collection and using it as an array.&amp;nbsp; I'm learning this stuff as I go.:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Nov 2010 14:43:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230651#M5446</guid>
      <dc:creator>MatthewStarry</dc:creator>
      <dc:date>2010-11-10T14:43:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic_TOC sample - get "visible" layers array</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230652#M5447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Matthew,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I was reading this thread and like you I am new at this and was wondering if you could pass on the code that you wrote that resolved this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advanne&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Richard Krell&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Nov 2010 13:25:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/dynamic-toc-sample-get-amp-amp-quot-visible-amp/m-p/230652#M5447</guid>
      <dc:creator>RichardKrell</dc:creator>
      <dc:date>2010-11-22T13:25:20Z</dc:date>
    </item>
  </channel>
</rss>

