<?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 ArcGIS JavaScript: delete all graphics that intersect a polygon? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-delete-all-graphics-that/m-p/637602#M59574</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you manage graphics with the ArcGIS JavaScript API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifically,&amp;nbsp; I want to delete all graphics that intersect a polygon.&amp;nbsp; How do I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have graphics in Feature Layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 09 Nov 2014 02:58:30 GMT</pubDate>
    <dc:creator>JerryGarcia</dc:creator>
    <dc:date>2014-11-09T02:58:30Z</dc:date>
    <item>
      <title>ArcGIS JavaScript: delete all graphics that intersect a polygon?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-delete-all-graphics-that/m-p/637602#M59574</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do you manage graphics with the ArcGIS JavaScript API?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Specifically,&amp;nbsp; I want to delete all graphics that intersect a polygon.&amp;nbsp; How do I do that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have graphics in Feature Layers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 09 Nov 2014 02:58:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-delete-all-graphics-that/m-p/637602#M59574</guid>
      <dc:creator>JerryGarcia</dc:creator>
      <dc:date>2014-11-09T02:58:30Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JavaScript: delete all graphics that intersect a polygon?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-delete-all-graphics-that/m-p/637603#M59575</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Jerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; You would loop through the Graphics Layers graphics to see if the graphics.geometry is contained in the test polygon. Polygon class has a contain method that take a geometry as a parameter. If the polygon contains the geometry then you use the GraphicsLayers.remove method that take a graphics as its parameter. Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Nov 2014 03:25:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-delete-all-graphics-that/m-p/637603#M59575</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2014-11-10T03:25:56Z</dc:date>
    </item>
    <item>
      <title>Re: ArcGIS JavaScript: delete all graphics that intersect a polygon?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-delete-all-graphics-that/m-p/637604#M59576</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there any sample regarding graphic overlap checking...?!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Dec 2014 04:04:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-javascript-delete-all-graphics-that/m-p/637604#M59576</guid>
      <dc:creator>BatbayarJargalsaikhan1</dc:creator>
      <dc:date>2014-12-18T04:04:46Z</dc:date>
    </item>
  </channel>
</rss>

