<?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: Is there a way to turn layers on and off similar to the Switching Basemaps sample in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378950#M8907</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out visibleLayers which is an ArrayCollection on your ArcGISDynamicMapServiceLayer. There should be some examples in the API samples section.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I want to use a toggle button bar to turn layers on/off similar to the Switching Basemaps sample.&lt;BR /&gt;&lt;BR /&gt;I would have 3 options (zone 1, zone 2, zone 3) and would need to turn layers on/off based on the selection. I have one dynamic map service that has layers for all 3 zones...I don't want to make a map service for each. &lt;BR /&gt;&lt;BR /&gt;Are there any examples/samples on how to do this? &lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 09 Jul 2010 07:01:55 GMT</pubDate>
    <dc:creator>TonyCollins</dc:creator>
    <dc:date>2010-07-09T07:01:55Z</dc:date>
    <item>
      <title>Is there a way to turn layers on and off similar to the Switching Basemaps sample?</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378949#M8906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I want to use a toggle button bar to turn layers on/off similar to the Switching Basemaps sample.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would have 3 options (zone 1, zone 2, zone 3) and would need to turn layers on/off based on the selection. I have one dynamic map service that has layers for all 3 zones...I don't want to make a map service for each. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are there any examples/samples on how to do this? &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, 08 Jul 2010 22:17:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378949#M8906</guid>
      <dc:creator>BrendanLee</dc:creator>
      <dc:date>2010-07-08T22:17:54Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to turn layers on and off similar to the Switching Basemaps sample</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378950#M8907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi there,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Check out visibleLayers which is an ArrayCollection on your ArcGISDynamicMapServiceLayer. There should be some examples in the API samples section.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I want to use a toggle button bar to turn layers on/off similar to the Switching Basemaps sample.&lt;BR /&gt;&lt;BR /&gt;I would have 3 options (zone 1, zone 2, zone 3) and would need to turn layers on/off based on the selection. I have one dynamic map service that has layers for all 3 zones...I don't want to make a map service for each. &lt;BR /&gt;&lt;BR /&gt;Are there any examples/samples on how to do this? &lt;BR /&gt;&lt;BR /&gt;Thanks!&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Jul 2010 07:01:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378950#M8907</guid>
      <dc:creator>TonyCollins</dc:creator>
      <dc:date>2010-07-09T07:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to turn layers on and off similar to the Switching Basemaps sample</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378951#M8908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Easy enough. Got that working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now is there a way to set the alpha on individual layers? I want some layers to be 100% and then others to be 60%.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Jul 2010 15:24:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378951#M8908</guid>
      <dc:creator>BrendanLee</dc:creator>
      <dc:date>2010-07-13T15:24:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to turn layers on and off similar to the Switching Basemaps sample</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378952#M8909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This isn't possible with a single ArcGISDynamicMapServiceLayer, but you could create a separate ArcGISDynamicMapServiceLayer for each layer and then set alpha on each one.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jul 2010 17:26:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/is-there-a-way-to-turn-layers-on-and-off-similar/m-p/378952#M8909</guid>
      <dc:creator>DasaPaddock</dc:creator>
      <dc:date>2010-07-14T17:26:39Z</dc:date>
    </item>
  </channel>
</rss>

