<?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: Simple way to clear all operational layers and graphics from a map? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703305#M65441</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Blake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies .... I meant to ask as to a way to render all feature and queryresult layers invisible, not actually remove them from the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fault, and thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2018 13:18:17 GMT</pubDate>
    <dc:creator>JohnRichardson</dc:creator>
    <dc:date>2018-10-16T13:18:17Z</dc:date>
    <item>
      <title>Simple way to clear all operational layers and graphics from a map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703303#M65439</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see that this type of question has been asked and answers have been attempted multiple times all over the internet, but none of them satisfy my needs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there not a way to clear a mapview of everything but the basemap with one simple command?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please and thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Oct 2018 13:56:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703303#M65439</guid>
      <dc:creator>JohnRichardson</dc:creator>
      <dc:date>2018-10-11T13:56:43Z</dc:date>
    </item>
    <item>
      <title>Re: Simple way to clear all operational layers and graphics from a map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703304#M65440</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What about&amp;nbsp;&lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#removeAll"&gt;Map.removeAll()&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;It would be helpful to mention your specific needs and what solutions you've already tried.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 00:03:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703304#M65440</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2018-10-16T00:03:44Z</dc:date>
    </item>
    <item>
      <title>Re: Simple way to clear all operational layers and graphics from a map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703305#M65441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Blake&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My apologies .... I meant to ask as to a way to render all feature and queryresult layers invisible, not actually remove them from the map.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My fault, and thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 13:18:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703305#M65441</guid>
      <dc:creator>JohnRichardson</dc:creator>
      <dc:date>2018-10-16T13:18:17Z</dc:date>
    </item>
    <item>
      <title>Re: Simple way to clear all operational layers and graphics from a map?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703306#M65442</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe iterate over the &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-Map.html#allLayers"&gt;Map.allLayers&lt;/A&gt;&lt;/SPAN&gt;&amp;nbsp;and set &lt;SPAN style="font-family: 'courier new', courier, monospace;"&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-Layer.html#visible"&gt;layer.visible = false&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 16:17:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/simple-way-to-clear-all-operational-layers-and/m-p/703306#M65442</guid>
      <dc:creator>BlakeTerhune</dc:creator>
      <dc:date>2018-10-16T16:17:49Z</dc:date>
    </item>
  </channel>
</rss>

