<?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 AppStudio Questions</title>
    <link>https://community.esri.com/t5/arcgis-appstudio-questions/layer-list/m-p/829062#M2218</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have similar functionality in Map Viewer template where you can turn layers on and off, on Map details -&amp;gt; Content panel, see image below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/457475_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the code to do this is at MapViewer/views/PanelPage.qml, where we set the visible property of the layer to false.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/457477_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Aug 2019 15:33:11 GMT</pubDate>
    <dc:creator>ErwinSoekianto</dc:creator>
    <dc:date>2019-08-20T15:33:11Z</dc:date>
    <item>
      <title>Layer List</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/layer-list/m-p/829061#M2217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Wondering if anyone has any examples of turning on and off Feature layers in an appstudio app&lt;/P&gt;&lt;P&gt;Is there something like visible = false?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I turn them on and off&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;            FeatureLayer &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                ServiceFeatureTable &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
                    url&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"http://sampleserver6.arcgisonline.com/arcgis/rest/services/Energy/Geology/FeatureServer/9"&lt;/SPAN&gt;

                &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
            &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Something like this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/457390_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:00:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/layer-list/m-p/829061#M2217</guid>
      <dc:creator>jaykapalczynski</dc:creator>
      <dc:date>2021-12-12T10:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: Layer List</title>
      <link>https://community.esri.com/t5/arcgis-appstudio-questions/layer-list/m-p/829062#M2218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jay,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have similar functionality in Map Viewer template where you can turn layers on and off, on Map details -&amp;gt; Content panel, see image below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/457475_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And the code to do this is at MapViewer/views/PanelPage.qml, where we set the visible property of the layer to false.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/457477_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this is helpful,&lt;/P&gt;&lt;P&gt;Erwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Aug 2019 15:33:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-appstudio-questions/layer-list/m-p/829062#M2218</guid>
      <dc:creator>ErwinSoekianto</dc:creator>
      <dc:date>2019-08-20T15:33:11Z</dc:date>
    </item>
  </channel>
</rss>

