<?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: Hide a layer in the layer list in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318056#M15909</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could the layer be added as part of the basemap?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://doc.arcgis.com/en/arcgis-online/create-maps/choose-basemap.htm#ESRI_SECTION1_5C28F0CDBF184E0D96D010E37F799B27" title="http://doc.arcgis.com/en/arcgis-online/create-maps/choose-basemap.htm#ESRI_SECTION1_5C28F0CDBF184E0D96D010E37F799B27"&gt;Choose basemap—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, can you give a little more information about the purpose of the layer and what it is used for in the app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/groups/cats?sr=search&amp;amp;searchId=5c8efe1a-7be8-4f25-90a7-e07e830e2daf&amp;amp;searchIndex=0"&gt;https://community.esri.com/groups/cats?sr=search&amp;amp;searchId=5c8efe1a-7be8-4f25-90a7-e07e830e2daf&amp;amp;searchIndex=0&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 30 May 2017 02:13:20 GMT</pubDate>
    <dc:creator>KellyGerrow</dc:creator>
    <dc:date>2017-05-30T02:13:20Z</dc:date>
    <item>
      <title>Hide a layer in the layer list</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318055#M15908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a layer that I want to be present in my map, but I don't want the user to be able to turn it on or off.&amp;nbsp; I'm using just as a mechanism to allow urlParameters in my Basic Viewer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can turn it off in the Legend, but it is still in the list of layers.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 May 2017 20:55:05 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318055#M15908</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2017-05-26T20:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a layer in the layer list</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318056#M15909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could the layer be added as part of the basemap?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://doc.arcgis.com/en/arcgis-online/create-maps/choose-basemap.htm#ESRI_SECTION1_5C28F0CDBF184E0D96D010E37F799B27" title="http://doc.arcgis.com/en/arcgis-online/create-maps/choose-basemap.htm#ESRI_SECTION1_5C28F0CDBF184E0D96D010E37F799B27"&gt;Choose basemap—ArcGIS Online Help | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not, can you give a little more information about the purpose of the layer and what it is used for in the app?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Kelly&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/groups/cats?sr=search&amp;amp;searchId=5c8efe1a-7be8-4f25-90a7-e07e830e2daf&amp;amp;searchIndex=0"&gt;https://community.esri.com/groups/cats?sr=search&amp;amp;searchId=5c8efe1a-7be8-4f25-90a7-e07e830e2daf&amp;amp;searchIndex=0&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 02:13:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318056#M15909</guid>
      <dc:creator>KellyGerrow</dc:creator>
      <dc:date>2017-05-30T02:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a layer in the layer list</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318057#M15910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a feature layer, not on the list of types you can add to your basemap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's my scenario.&amp;nbsp; I have a layer of streams and a layer of lakes.&amp;nbsp; They both have water ids, and the user wants to be able to use a urlParameter argument, so they can zoom to a particular body of water.&amp;nbsp; The water body ids were defined such that the ids for the start at 7000, making their numbering scheme distinct from the ids on the streams.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It&amp;nbsp;makes sense that should only have one layer to search on as an incoming argument.&amp;nbsp; I created a polyline layer out the lakes and merged it into a copy of the streams to make a query layer.&amp;nbsp; Then the user can specify a water body ID, which searches against this query layer and zooms into either a lake or a stream.&amp;nbsp; The query layer only has the water body ID on it, the attributes aren't the same for the rivers and streams.&amp;nbsp; I needed to&amp;nbsp;leave these each in their own layer for the popup configuration.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't want to see the query layer, I just need it to be present for this functionality to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 May 2017 18:33:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318057#M15910</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2017-05-30T18:33:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a layer in the layer list</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318058#M15911</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tracy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Its a bit of a hack but you could hide the layer in the layer list with custom css. &amp;nbsp;In the example below we hide the first item in the layer list widget. To test in your app just replace the value 1 in the css below with the number of your layer in the list. Note that I haven't tested this extensively so there could be some unexpected behavior but its worth exploring.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="selector token"&gt;.esriList &amp;gt; li:nth-child(1)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;display&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; none&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;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:07:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318058#M15911</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2021-12-11T15:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a layer in the layer list</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318059#M15912</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tracy,&lt;/P&gt;&lt;P&gt;If this is still an issue, what I have usually been doing on my side...&lt;/P&gt;&lt;P&gt;If you are using WebApp Builder, when using the Layer List widget you can:&lt;/P&gt;&lt;P&gt;Uncheck the box for the layer that you don't want to see in the layer list. The layer can be turned on within the web map, but the choice to turn it on or off within the web app will nto appear.&lt;/P&gt;&lt;P&gt;Let me know if this is unclear... &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 03 Jun 2017 03:34:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318059#M15912</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2017-06-03T03:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a layer in the layer list</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318060#M15913</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kelly,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm new to css, any guidance on implementing this?&amp;nbsp; Which css are we using this in, LayerSelector.css?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Jun 2017 22:47:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318060#M15913</guid>
      <dc:creator>HunterCarver</dc:creator>
      <dc:date>2017-06-14T22:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a layer in the layer list</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318061#M15914</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using the Web App Builder developer edition? If so I'm not familiar enough with that app. Perhaps ask this question in the Web App Builder community?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 16:31:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318061#M15914</guid>
      <dc:creator>KellyHutchins</dc:creator>
      <dc:date>2017-06-15T16:31:03Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a layer in the layer list</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318062#M15915</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;As stated in my original posting, I'm using the Basic Viewer template.&amp;nbsp; I went another route with my project and didn't end up using AGOL at all.&amp;nbsp; I have enough HTML/JavaScript experience I just went with that option.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 16:51:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/hide-a-layer-in-the-layer-list/m-p/318062#M15915</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2017-06-15T16:51:39Z</dc:date>
    </item>
  </channel>
</rss>

