<?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 CSVLayer graphics in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csvlayer-graphics/m-p/483663#M45075</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application, I have a CSVLayer that displays fine.&amp;nbsp; I also have a master clone of it's graphics array.&amp;nbsp; I filter that array based on user selected options based on the graphics attributes, and then set the CSVLayer.graphics property to that array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;csvLayer.graphics = filteredArray;
csvLayer.redraw();&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the CSVLayer continues to show all of the original graphics.&amp;nbsp; How can I properly filter the graphics of the CSVLayer and have it redraw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&amp;nbsp; i also tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;csvLayer.remove(oldGraphic);
csvLayer.add(newGraphic);
csvLayer.redraw();
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to no avail.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 21:20:32 GMT</pubDate>
    <dc:creator>LanceCrumbliss</dc:creator>
    <dc:date>2021-12-11T21:20:32Z</dc:date>
    <item>
      <title>CSVLayer graphics</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csvlayer-graphics/m-p/483663#M45075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In my application, I have a CSVLayer that displays fine.&amp;nbsp; I also have a master clone of it's graphics array.&amp;nbsp; I filter that array based on user selected options based on the graphics attributes, and then set the CSVLayer.graphics property to that array.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;csvLayer.graphics = filteredArray;
csvLayer.redraw();&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the CSVLayer continues to show all of the original graphics.&amp;nbsp; How can I properly filter the graphics of the CSVLayer and have it redraw?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;edit:&amp;nbsp; i also tried&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;csvLayer.remove(oldGraphic);
csvLayer.add(newGraphic);
csvLayer.redraw();
&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;/PRE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to no avail.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:20:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csvlayer-graphics/m-p/483663#M45075</guid>
      <dc:creator>LanceCrumbliss</dc:creator>
      <dc:date>2021-12-11T21:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: CSVLayer graphics</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csvlayer-graphics/m-p/483664#M45076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, I figured it out.&amp;nbsp; I had to call csvLayer.clear(); first.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 16 Jul 2016 18:52:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/csvlayer-graphics/m-p/483664#M45076</guid>
      <dc:creator>LanceCrumbliss</dc:creator>
      <dc:date>2016-07-16T18:52:14Z</dc:date>
    </item>
  </channel>
</rss>

