<?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: Clear graphics on FeatureLayer in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/clear-graphics-on-featurelayer/m-p/703042#M15688</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've upgraded to the latest lib 2.3.1, and I have a solution that works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;featureLayer.definitionExpression = "bla bla..."
featureLayer.clear();
featureLayer.refresh();&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 05:34:06 GMT</pubDate>
    <dc:creator>Ganael_Jatteau</dc:creator>
    <dc:date>2021-12-12T05:34:06Z</dc:date>
    <item>
      <title>Clear graphics on FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/clear-graphics-on-featurelayer/m-p/703041#M15687</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application that changes the definition expression of a FeatureLayer. However, after I change that value, I'not able to clear the existing graphics on the layer and force to query the new geometries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Right now, I remove the layer and create a new one. Is there a more appropriate way to do that ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ganael&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Jul 2011 11:37:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/clear-graphics-on-featurelayer/m-p/703041#M15687</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2011-07-06T11:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: Clear graphics on FeatureLayer</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/clear-graphics-on-featurelayer/m-p/703042#M15688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've upgraded to the latest lib 2.3.1, and I have a solution that works:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;featureLayer.definitionExpression = "bla bla..."
featureLayer.clear();
featureLayer.refresh();&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 05:34:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/clear-graphics-on-featurelayer/m-p/703042#M15688</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2021-12-12T05:34:06Z</dc:date>
    </item>
  </channel>
</rss>

