<?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 Is it possible for layers to automatically turn on/off based on activating other layers? (ArcGIS online map)  in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-for-layers-to-automatically-turn-on/m-p/146853#M7204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an online map with 6 layers. One layer represents cities (City layer A). Two other layers, County Layer A and State Layer A, correspond to the City Layer A.&amp;nbsp;I would like &lt;SPAN&gt;County Layer A and State Layer A&amp;nbsp;&lt;/SPAN&gt;activated whenever a user activates&amp;nbsp;&lt;SPAN&gt;City Layer A. I also have another city layer (City Layer B) that has two corresponding layers, County Layer B and State Layer B. I would also like it so when a user &lt;SPAN&gt;activates&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;City Layer B, County Layer B and State Layer B activates. Even better, I'd like it so when a user activates one city layer, the other city layer (and in turn, the other county/state layers) turn off.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Is this possible?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 18 Sep 2020 20:34:36 GMT</pubDate>
    <dc:creator>IcleiUsa</dc:creator>
    <dc:date>2020-09-18T20:34:36Z</dc:date>
    <item>
      <title>Is it possible for layers to automatically turn on/off based on activating other layers? (ArcGIS online map)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-for-layers-to-automatically-turn-on/m-p/146853#M7204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have an online map with 6 layers. One layer represents cities (City layer A). Two other layers, County Layer A and State Layer A, correspond to the City Layer A.&amp;nbsp;I would like &lt;SPAN&gt;County Layer A and State Layer A&amp;nbsp;&lt;/SPAN&gt;activated whenever a user activates&amp;nbsp;&lt;SPAN&gt;City Layer A. I also have another city layer (City Layer B) that has two corresponding layers, County Layer B and State Layer B. I would also like it so when a user &lt;SPAN&gt;activates&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;City Layer B, County Layer B and State Layer B activates. Even better, I'd like it so when a user activates one city layer, the other city layer (and in turn, the other county/state layers) turn off.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Is this possible?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Sep 2020 20:34:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-for-layers-to-automatically-turn-on/m-p/146853#M7204</guid>
      <dc:creator>IcleiUsa</dc:creator>
      <dc:date>2020-09-18T20:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible for layers to automatically turn on/off based on activating other layers? (ArcGIS online map)</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-for-layers-to-automatically-turn-on/m-p/146854#M7205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/421757"&gt;Iclei Usa&lt;/A&gt;‌, you can achieve this however, this is something not possible with out of the box application but has to be a custom web application where you can control the layers visibility with conditions provided. You can refer to the layer visibility sample&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/jssamples/map_explicitlayerlist.html" title="https://developers.arcgis.com/javascript/3/jssamples/map_explicitlayerlist.html"&gt;Toggle layer visibility | ArcGIS API for JavaScript 3.33&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-sublayers/index.html" title="https://developers.arcgis.com/javascript/latest/sample-code/layers-mapimagelayer-sublayers/index.html"&gt;MapImageLayer - Toggle sublayer visibility | ArcGIS API for JavaScript 4.16&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;&lt;P&gt;Manish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 Sep 2020 01:57:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/is-it-possible-for-layers-to-automatically-turn-on/m-p/146854#M7205</guid>
      <dc:creator>ManishPatel</dc:creator>
      <dc:date>2020-09-21T01:57:13Z</dc:date>
    </item>
  </channel>
</rss>

