<?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: Selecting and removing graphic (by rings array) in ArcGIS JSapi 3.x in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selecting-and-removing-graphic-by-rings-array-in/m-p/608293#M56890</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So&amp;nbsp;are you using a editable Feature Service?&lt;/P&gt;&lt;P&gt;You are not going to be able to select a particular ring of a polygon without taking that ring and adding it to the map as a new graphic.&lt;/P&gt;&lt;P&gt;deleting the ring is not very hard as there is a remove ring method on&amp;nbsp;the polygon class.&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#removering" title="https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#removering"&gt;https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#removering&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Oct 2019 20:48:18 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-10-08T20:48:18Z</dc:date>
    <item>
      <title>Selecting and removing graphic (by rings array) in ArcGIS JSapi 3.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selecting-and-removing-graphic-by-rings-array-in/m-p/608292#M56889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using JSAPI 3.x.&lt;/P&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;P&gt;I have graphic layer in Feature Layer and I want to select and remove graphic (by rings) one by one. How can I achieve that?&lt;/P&gt;&lt;P&gt;As of now when I select graphic, it select the whole graphic and .clear() or .remove() doesn't work.&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/461436_Uryi1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Select and remove graphic based on these rings array&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-emoji jive-image image-2 j-img-original" src="https://community.esri.com/legacyfs/online/461437_WHrQA.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/3101"&gt;Robert Scheitlin, GISP&lt;/A&gt;‌, Robert&amp;nbsp;seen your answers regarding adding/editing graphics. thought you be the best person to help me out here.&lt;/P&gt;&lt;P&gt;thanks&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 19:49:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selecting-and-removing-graphic-by-rings-array-in/m-p/608292#M56889</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-08T19:49:38Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting and removing graphic (by rings array) in ArcGIS JSapi 3.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selecting-and-removing-graphic-by-rings-array-in/m-p/608293#M56890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;So&amp;nbsp;are you using a editable Feature Service?&lt;/P&gt;&lt;P&gt;You are not going to be able to select a particular ring of a polygon without taking that ring and adding it to the map as a new graphic.&lt;/P&gt;&lt;P&gt;deleting the ring is not very hard as there is a remove ring method on&amp;nbsp;the polygon class.&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#removering" title="https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#removering"&gt;https://developers.arcgis.com/javascript/3/jsapi/polygon-amd.html#removering&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 20:48:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selecting-and-removing-graphic-by-rings-array-in/m-p/608293#M56890</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-10-08T20:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Selecting and removing graphic (by rings array) in ArcGIS JSapi 3.x</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selecting-and-removing-graphic-by-rings-array-in/m-p/608294#M56891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it is editable Feature service and will give that a try and see how I go.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Oct 2019 23:07:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/selecting-and-removing-graphic-by-rings-array-in/m-p/608294#M56891</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-10-08T23:07:07Z</dc:date>
    </item>
  </channel>
</rss>

