<?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 Hide SubLayer from AGSJS TOC in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-sublayer-from-agsjs-toc/m-p/482290#M44889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a service with two layers. Using the AGSJS TOC widget is there a way to hide one layer from the TOC (not the map), while still keeping the 2nd layer in the service within the TOC and able to be turned on and off?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 07 Jan 2013 11:40:31 GMT</pubDate>
    <dc:creator>CraigMcDade</dc:creator>
    <dc:date>2013-01-07T11:40:31Z</dc:date>
    <item>
      <title>Hide SubLayer from AGSJS TOC</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-sublayer-from-agsjs-toc/m-p/482290#M44889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a service with two layers. Using the AGSJS TOC widget is there a way to hide one layer from the TOC (not the map), while still keeping the 2nd layer in the service within the TOC and able to be turned on and off?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 11:40:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-sublayer-from-agsjs-toc/m-p/482290#M44889</guid>
      <dc:creator>CraigMcDade</dc:creator>
      <dc:date>2013-01-07T11:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Hide SubLayer from AGSJS TOC</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-sublayer-from-agsjs-toc/m-p/482291#M44890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have a service with two layers. Using the AGSJS TOC widget is there a way to hide one layer from the TOC (not the map), while still keeping the 2nd layer in the service within the TOC and able to be turned on and off?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; You can try using CSS styles, find the node id for that layer, then hide it in CSS. Not 100% dynamic, but easy to implement.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Jan 2013 13:53:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/hide-sublayer-from-agsjs-toc/m-p/482291#M44890</guid>
      <dc:creator>NianweiLiu</dc:creator>
      <dc:date>2013-01-07T13:53:25Z</dc:date>
    </item>
  </channel>
</rss>

