<?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: Layer list in ArcGIS Web AppBuilder Questions</title>
    <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422658#M11218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;But it did not work as I expected.&lt;/P&gt;&lt;P&gt;How hard is it to turn on or off a layer by touching layer name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 Aug 2014 19:52:11 GMT</pubDate>
    <dc:creator>KeisukeNozaki</dc:creator>
    <dc:date>2014-08-15T19:52:11Z</dc:date>
    <item>
      <title>Layer list</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422656#M11216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is a layer list widget provided by WebApp Builder Beta.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/legacyfs/online/3528_Clipboard01.png"&gt;&lt;IMG alt="Clipboard01.png" class="jive-image image-1" height="246" src="https://community.esri.com/legacyfs/online/3529_Clipboard01.png" width="362" /&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;It is not always easy to turn on and off on mobile devices.&lt;/P&gt;&lt;P&gt;Is there a way to enlarge a checkbox?&lt;/P&gt;&lt;P&gt;Or can I have a layer turned on or off by touching layer name?&lt;/P&gt;&lt;P&gt;I appreciate your advice.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 16:43:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422656#M11216</guid>
      <dc:creator>KeisukeNozaki</dc:creator>
      <dc:date>2014-08-15T16:43:36Z</dc:date>
    </item>
    <item>
      <title>Re: Layer list</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422657#M11217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keisuke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The check box that the layer list widget uses is sized based on the jimu.css file and the size of the images/checked.png. So yes you could increase the size of the images/checked.png (currently 14x14px) and then adjust the height and width of the .jimu-checkbox .checkbox in the css.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 17:16:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422657#M11217</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-08-15T17:16:30Z</dc:date>
    </item>
    <item>
      <title>Re: Layer list</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422658#M11218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;P&gt;But it did not work as I expected.&lt;/P&gt;&lt;P&gt;How hard is it to turn on or off a layer by touching layer name?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Aug 2014 19:52:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422658#M11218</guid>
      <dc:creator>KeisukeNozaki</dc:creator>
      <dc:date>2014-08-15T19:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Layer list</title>
      <link>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422659#M11219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Keisuke,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Ok, in the LayerListView.js you need to add a line and a new function.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;find this line:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14081585566566081 jive_text_macro" jivemacro_uid="_14081585566566081"&gt;
&lt;P&gt;this.own(on(ckSelect.domNode, 'click', lang.hitch(this, this._onCkSelectNodeClick, layerInfo, ckSelect)));&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;and add this one below it:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14081585773423656 jive_text_macro" jivemacro_uid="_14081585773423656"&gt;
&lt;P&gt;this.own(on(divLabel, 'click', lang.hitch(this, this._onLabelNodeClick, layerInfo, ckSelect)));&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then add this new function:&lt;/P&gt;&lt;PRE __default_attr="javascript" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14081586187854478 jive_text_macro" jivemacro_uid="_14081586187854478"&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _onLabelNodeClick: function(layerInfo, ckSelect, evt) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if (ckSelect.checked) {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ckSelect.setValue(false);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfo.setTopLayerVisible(false);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; } else {&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ckSelect.setValue(true);&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; layerInfo.setTopLayerVisible(true);&lt;/P&gt;
&lt;P&gt;&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; evt.stopPropagation();&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; },&lt;/P&gt;
&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Aug 2014 03:10:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-web-appbuilder-questions/layer-list/m-p/422659#M11219</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-08-16T03:10:21Z</dc:date>
    </item>
  </channel>
</rss>

