<?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: Table of content with checkbox and opacity slide bar in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760161#M70447</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to take a reference about this user created sample that shared in arcgis.com: &lt;A href="https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109" title="https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109"&gt;https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically if you need to change the layer opacity you need to take look this API documentation:&lt;/P&gt;&lt;H4 class="syntaxdetailheadername" style="margin-top: 0.2em; margin-bottom: 0.4em; font-family: 'Avenir LT W01 65 Medium', Arial, Helvetica, sans-serif; font-weight: 500; font-size: 1.0625em; color: #4d4d4d;"&gt;&lt;STRONG&gt;&lt;EM&gt;setOpacity(opacity)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/H4&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#setopacity" title="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#setopacity"&gt;ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help, also we recommend you use AMD style for JS &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Oct 2015 17:25:00 GMT</pubDate>
    <dc:creator>YueWu1</dc:creator>
    <dc:date>2015-10-15T17:25:00Z</dc:date>
    <item>
      <title>Table of content with checkbox and opacity slide bar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760160#M70446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Users,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; I am working ona module where the user need a table of content(layer name)with check boxes&lt;/P&gt;&lt;P&gt;and a slides beside very layer name which can control opacity.&lt;/P&gt;&lt;P&gt;I tried some examples but could not reach any thing.&lt;/P&gt;&lt;P&gt;Any guide on this will be helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 17:11:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760160#M70446</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2015-10-15T17:11:24Z</dc:date>
    </item>
    <item>
      <title>Re: Table of content with checkbox and opacity slide bar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760161#M70447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aditya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can try to take a reference about this user created sample that shared in arcgis.com: &lt;A href="https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109" title="https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109"&gt;https://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Technically if you need to change the layer opacity you need to take look this API documentation:&lt;/P&gt;&lt;H4 class="syntaxdetailheadername" style="margin-top: 0.2em; margin-bottom: 0.4em; font-family: 'Avenir LT W01 65 Medium', Arial, Helvetica, sans-serif; font-weight: 500; font-size: 1.0625em; color: #4d4d4d;"&gt;&lt;STRONG&gt;&lt;EM&gt;setOpacity(opacity)&lt;/EM&gt;&lt;/STRONG&gt;&lt;/H4&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#setopacity" title="https://developers.arcgis.com/javascript/jsapi/arcgisdynamicmapservicelayer-amd.html#setopacity"&gt;ArcGISDynamicMapServiceLayer | API Reference | ArcGIS API for JavaScript&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this can help, also we recommend you use AMD style for JS &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/grin.png" /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Oct 2015 17:25:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760161#M70447</guid>
      <dc:creator>YueWu1</dc:creator>
      <dc:date>2015-10-15T17:25:00Z</dc:date>
    </item>
    <item>
      <title>Re: Table of content with checkbox and opacity slide bar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760162#M70448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a layer list control that you might be able to use: &lt;A href="https://github.com/WSDOT-GIS/arcgis-js-layer-list/" title="https://github.com/WSDOT-GIS/arcgis-js-layer-list/"&gt;WSDOT-GIS/arcgis-js-layer-list · GitHub&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 16:22:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760162#M70448</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2015-10-19T16:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Table of content with checkbox and opacity slide bar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760163#M70449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A lot of people are using the TOC widget mentioned above, &lt;A href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com%2Fhome%2Fitem.html%3Fid%3D9b6280a6bfb0430f8d1ebc969276b109" title="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com%2Fhome%2Fitem.html%3Fid%3D9b6280a6bfb0430f8d1ebc969276b109"&gt;https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fwww.arcgis.com%2Fhome%2Fitem.html%3Fid%3D9b6280a6bfb0430f8d…&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It's part of the functionality to allow you to change the opacity of an individual layer.&amp;nbsp; It's always worked fine for me. If one of the examples provided is close to what you want, but you're having problems with it, you ought to be able to post your code and get some assistance.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Oct 2015 20:31:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760163#M70449</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2015-10-19T20:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: Table of content with checkbox and opacity slide bar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760164#M70450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;I am able to bring the list of check boxes in my map using layerlist widget.&lt;/P&gt;&lt;P&gt;var myWidget = new LayerList({&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; map: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; layers: []&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; },"layerList");&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myWidget.startup();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And its working fine. Need to add the opacity slider next to each layer.&lt;/P&gt;&lt;P&gt;Any suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Aditya Kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 07:14:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760164#M70450</guid>
      <dc:creator>ADITYAKUMAR1</dc:creator>
      <dc:date>2015-11-19T07:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Table of content with checkbox and opacity slide bar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760165#M70451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at this example that uses the LayerList with a opacity slider.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://jsbin.com/xarixa/edit?html,output" title="http://jsbin.com/xarixa/edit?html,output"&gt;JS Bin - Collaborative JavaScript Debugging&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 14:42:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760165#M70451</guid>
      <dc:creator>KenBuja</dc:creator>
      <dc:date>2015-11-19T14:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Table of content with checkbox and opacity slide bar</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760166#M70452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's another one you could try out:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/jgrayson-apl/LayerListOpacity" title="https://github.com/jgrayson-apl/LayerListOpacity"&gt;jgrayson-apl/LayerListOpacity · GitHub&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 18:21:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/table-of-content-with-checkbox-and-opacity-slide/m-p/760166#M70452</guid>
      <dc:creator>JohnGrayson</dc:creator>
      <dc:date>2015-11-20T18:21:58Z</dc:date>
    </item>
  </channel>
</rss>

