<?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 How to remove graphics from map by usign its attribute in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-graphics-from-map-by-usign-its/m-p/376731#M34950</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I have us map , using query task i have&amp;nbsp; selected few states ex texas&amp;nbsp; and sets some symbols which makes it highlighted so some states have some color and other follow normal color.If i want to remove graphics for texas&amp;nbsp; what is the best way to do .&amp;nbsp; I have added feature layer with MODE_SNAPSHOT.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Oct 2013 13:49:29 GMT</pubDate>
    <dc:creator>vinayb</dc:creator>
    <dc:date>2013-10-11T13:49:29Z</dc:date>
    <item>
      <title>How to remove graphics from map by usign its attribute</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-graphics-from-map-by-usign-its/m-p/376731#M34950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; I have us map , using query task i have&amp;nbsp; selected few states ex texas&amp;nbsp; and sets some symbols which makes it highlighted so some states have some color and other follow normal color.If i want to remove graphics for texas&amp;nbsp; what is the best way to do .&amp;nbsp; I have added feature layer with MODE_SNAPSHOT.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 13:49:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-graphics-from-map-by-usign-its/m-p/376731#M34950</guid>
      <dc:creator>vinayb</dc:creator>
      <dc:date>2013-10-11T13:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove graphics from map by usign its attribute</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-graphics-from-map-by-usign-its/m-p/376732#M34951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is how I remove graphics from a map, via a loop, based on a certain attribute:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="plain" name="code"&gt;map.graphics.graphics.forEach(function(g){&amp;nbsp; if(g.attributes){ &amp;nbsp; if(g.attributes.foo == "foo" || g.attributes.bar == "bar"){ &amp;nbsp;&amp;nbsp; map.graphics.remove(g); &amp;nbsp; }&amp;nbsp; } });&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 14:01:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-graphics-from-map-by-usign-its/m-p/376732#M34951</guid>
      <dc:creator>JonathanUihlein</dc:creator>
      <dc:date>2013-10-11T14:01:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to remove graphics from map by usign its attribute</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-graphics-from-map-by-usign-its/m-p/376733#M34952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Super thanks a lot&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Oct 2013 14:34:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-remove-graphics-from-map-by-usign-its/m-p/376733#M34952</guid>
      <dc:creator>vinayb</dc:creator>
      <dc:date>2013-10-11T14:34:54Z</dc:date>
    </item>
  </channel>
</rss>

