<?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: Legend - toggle services, not listing all layers for toggle in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-toggle-services-not-listing-all-layers-for/m-p/169897#M15756</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/widget_legendvisible.html"&gt;this&lt;/A&gt;&lt;SPAN&gt; is the sample you're referring to, it looks like each checkbox controls a separate map service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 09 Jan 2013 17:05:26 GMT</pubDate>
    <dc:creator>JeffJacobson</dc:creator>
    <dc:date>2013-01-09T17:05:26Z</dc:date>
    <item>
      <title>Legend - toggle services, not listing all layers for toggle</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-toggle-services-not-listing-all-layers-for/m-p/169896#M15755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I referenced the "legend - toggle services" widget sample to update my map.&amp;nbsp; The legend works great and refreshes better than my last version, but the layer tab just lists the whole map service as one check box...instead of listing the many layers separately, like in the legend.&amp;nbsp; I'm not sure how to change the script to break out all layers so visibility can be toggled for each one, or if this change would be specific to the legend or checkbox part of the script.&amp;nbsp; Any suggestions or clues are welcome!&amp;nbsp; Thanks, David&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Here's the map:&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://dswcapps.dcr.virginia.gov/dnh/vop/vop_accordion.htm" rel="nofollow" target="_blank"&gt;http://dswcapps.dcr.virginia.gov/dnh/vop/vop_accordion.htm&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 16:07:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-toggle-services-not-listing-all-layers-for/m-p/169896#M15755</guid>
      <dc:creator>DavidBoyd</dc:creator>
      <dc:date>2013-01-09T16:07:15Z</dc:date>
    </item>
    <item>
      <title>Re: Legend - toggle services, not listing all layers for toggle</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-toggle-services-not-listing-all-layers-for/m-p/169897#M15756</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/javascript/arcgis/help/jssamples_start.htm#jssamples/widget_legendvisible.html"&gt;this&lt;/A&gt;&lt;SPAN&gt; is the sample you're referring to, it looks like each checkbox controls a separate map service.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Jan 2013 17:05:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-toggle-services-not-listing-all-layers-for/m-p/169897#M15756</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2013-01-09T17:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Legend - toggle services, not listing all layers for toggle</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-toggle-services-not-listing-all-layers-for/m-p/169898#M15757</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I referenced the "legend - toggle services" widget sample to update my map.&amp;nbsp; The legend works great and refreshes better than my last version, but the layer tab just lists the whole map service as one check box...instead of listing the many layers separately, like in the legend.&amp;nbsp; I'm not sure how to change the script to break out all layers so visibility can be toggled for each one, or if this change would be specific to the legend or checkbox part of the script.&amp;nbsp; Any suggestions or clues are welcome!&amp;nbsp; Thanks, David&lt;BR /&gt;&lt;BR /&gt;Here's the map:&amp;nbsp; &lt;A class="jive-link-external-small" href="http://dswcapps.dcr.virginia.gov/dnh/vop/vop_accordion.htm" rel="nofollow" target="_blank"&gt;http://dswcapps.dcr.virginia.gov/dnh/vop/vop_accordion.htm&lt;/A&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I suggest you to use the TOC widget in this sample &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109" rel="nofollow" target="_blank"&gt;https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;it works well and will save you a lot of time&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Jan 2013 06:31:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/legend-toggle-services-not-listing-all-layers-for/m-p/169898#M15757</guid>
      <dc:creator>DavideLimosani</dc:creator>
      <dc:date>2013-01-10T06:31:53Z</dc:date>
    </item>
  </channel>
</rss>

