<?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: ArcGISTiledMapServiceLayer - Turning layers on and/or off in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736723#M16326</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Although the example here uses Dynamic layers to demonstrate turning layers on and off, you could modify it to accept Tile Layers as well.&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;Looking at it, that example seems a little overcomplicated for what it's trying to demonstrate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It basically boils down to wiring a layer to some action, say a togglebutton&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;s:ToggleButton id="tb" selected="false" click="layer.visible = tb.selected /&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Jul 2011 16:04:45 GMT</pubDate>
    <dc:creator>ReneRubalcava</dc:creator>
    <dc:date>2011-07-12T16:04:45Z</dc:date>
    <item>
      <title>ArcGISTiledMapServiceLayer - Turning layers on and/or off</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736722#M16325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am new to the ArcGIS API for Flex, I have created a Tiled Service to use as my basemap. My company would still like the ability to turn layers on and/or off when they want. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With ArcGISDynamicMapServiceLayer I am able to give them this power. Can I give them this power by using the ArcGISTiledMapServiceLayer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 14:30:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736722#M16325</guid>
      <dc:creator>DaviKucharski</dc:creator>
      <dc:date>2011-07-12T14:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISTiledMapServiceLayer - Turning layers on and/or off</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736723#M16326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes you can.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Although the example here uses Dynamic layers to demonstrate turning layers on and off, you could modify it to accept Tile Layers as well.&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;Looking at it, that example seems a little overcomplicated for what it's trying to demonstrate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It basically boils down to wiring a layer to some action, say a togglebutton&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;s:ToggleButton id="tb" selected="false" click="layer.visible = tb.selected /&amp;gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 16:04:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736723#M16326</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2011-07-12T16:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISTiledMapServiceLayer - Turning layers on and/or off</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736724#M16327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I thought I could do that also, the problem is if the TiledLayerService has 10 individual layers inside of it, the tiles are cached images of how the layers would be presented at each scale. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;At that point I don't believe I have control over any of the 10 layers inside the service because it is technically an image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Let me know.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 16:11:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736724#M16327</guid>
      <dc:creator>DaviKucharski</dc:creator>
      <dc:date>2011-07-12T16:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGISTiledMapServiceLayer - Turning layers on and/or off</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736725#M16328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Oh, I'm sorry. You mean the individual layers in the actual service.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You are correct in that you cannot control the visibility of individual layers of a Tiled Service, as it is "fused". You could create a non-fused Tiled Map Service, but I have never tried that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;TiledMapLayer does not have a visibleLayers property like the DynamicLayer does to define visibility of individual layers of a service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jul 2011 16:18:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/arcgistiledmapservicelayer-turning-layers-on-and/m-p/736725#M16328</guid>
      <dc:creator>ReneRubalcava</dc:creator>
      <dc:date>2011-07-12T16:18:07Z</dc:date>
    </item>
  </channel>
</rss>

