<?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 add a checkbox next to the layer in the legend widget to turn layers on/off? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76974#M6984</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the "default.html" file and it appears to show all the layers in your services. The only edit was to remove the proxy configuration. Which layers are missing?&lt;IMG alt="default.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/92327_default.png" style="width: 620px; height: 500px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 May 2015 16:40:23 GMT</pubDate>
    <dc:creator>KenBuja</dc:creator>
    <dc:date>2015-05-01T16:40:23Z</dc:date>
    <item>
      <title>Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76971#M6981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like for my users to be able to turn layers on and off so they can see just street signs or supports. I have tried using this widget, but it does not work: &lt;A href="http://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109"&gt;http://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109&lt;/A&gt;&lt;A href="http://Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?"&gt;http://Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My code for starting the legend is the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; app.legend = new Legend({&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; map: app.map,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfos: [{&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: app.supportLayer.name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer: app.supportLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title: app.signLayer.name,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layer: app.signLayer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }, "legend");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; app.legend.startup();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 13:47:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76971#M6981</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-05-01T13:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76972#M6982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you mean that widget doesn't work?What are the issues that you're having? I've used it in many applications without any problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are some other TOC widgets, like &lt;A _jive_internal="true" href="https://community.esri.com/people/odoe/blog/2015/02/11/how-to-make-a-toc"&gt;this&lt;/A&gt; or &lt;A href="https://github.com/WSDOT-GIS/arcgis-js-layer-list"&gt;this&lt;/A&gt;​, with others out there on GitHub also.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 14:15:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76972#M6982</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2015-05-01T14:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76973#M6983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the file I uploaded that doesn't work. It kind of works, but does not show all layers.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.esri.com/docs/DOC-5792"&gt;https://community.esri.com/docs/DOC-5792&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 15:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76973#M6983</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-05-01T15:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76974#M6984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I used the "default.html" file and it appears to show all the layers in your services. The only edit was to remove the proxy configuration. Which layers are missing?&lt;IMG alt="default.png" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/92327_default.png" style="width: 620px; height: 500px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 16:40:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76974#M6984</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2015-05-01T16:40:23Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76975#M6985</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG style="font-size: 12.6000003814697px; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif;"&gt;&lt;A href="https://community.esri.com/people/kenbuja"&gt;kenbuja&lt;/A&gt;​&lt;/STRONG&gt;is right. I also use this widget a lot and it's now updated as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 17:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76975#M6985</guid>
      <dc:creator>RichardMoussopo</dc:creator>
      <dc:date>2015-05-01T17:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76976#M6986</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried it and I set always use proxy to false. There appears to be a delay before it populates, but it does populate. Thanks &lt;A _jive_internal="true" href="https://community.esri.com/people/kenbuja"&gt;@Ken_Buja&lt;/A&gt;. I'll try to add it to my application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 18:05:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76976#M6986</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-05-01T18:05:19Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to add a checkbox next to the layer in the legend widget to turn layers on/off?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76977#M6987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's been updated? When was that? I might want to try out the update.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 May 2015 18:07:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-add-a-checkbox-next-to-the-layer/m-p/76977#M6987</guid>
      <dc:creator>ChrisSergent</dc:creator>
      <dc:date>2015-05-01T18:07:39Z</dc:date>
    </item>
  </channel>
</rss>

