<?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: FeatureLayer.remove() is not supported. Use applyEdits() in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33516#M813</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestion. The problem is I want to take advantage of the FeatureLayer to automatically query new graphics when the extent changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 11 Jul 2011 07:57:11 GMT</pubDate>
    <dc:creator>Ganael_Jatteau</dc:creator>
    <dc:date>2011-07-11T07:57:11Z</dc:date>
    <item>
      <title>FeatureLayer.remove() is not supported. Use applyEdits()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33514#M811</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 a feature layer on Flex application that comes from a non editable service. I'm just interested to have some graphics on the client side so I can do some modifications (I don't want to modify anything on the feature service). How can I remove a graphic on that layer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The method FeatureLayer.remove(graphic) returns:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FeatureLayer.remove() is not supported. Use applyEdits()&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But I can't call applyEdits() on that layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 12:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33514#M811</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2011-07-08T12:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.remove() is not supported. Use applyEdits()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33515#M812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I have a feature layer on Flex application that comes from a non editable service. I'm just interested to have some graphics on the client side so I can do some modifications (I don't want to modify anything on the feature service). How can I remove a graphic on that layer?&lt;BR /&gt;The method FeatureLayer.remove(graphic) returns:&lt;BR /&gt;&lt;BR /&gt;FeatureLayer.remove() is not supported. Use applyEdits()&lt;BR /&gt;&lt;BR /&gt;But I can't call applyEdits() on that layer.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance!&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create a graphics layer and then remove graphics from graphics layer....This way it will not edit your data...just a thought&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jul 2011 15:29:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33515#M812</guid>
      <dc:creator>ZahidChaudhry</dc:creator>
      <dc:date>2011-07-08T15:29:56Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.remove() is not supported. Use applyEdits()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33516#M813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the suggestion. The problem is I want to take advantage of the FeatureLayer to automatically query new graphics when the extent changes.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 07:57:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33516#M813</guid>
      <dc:creator>Ganael_Jatteau</dc:creator>
      <dc:date>2011-07-11T07:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer.remove() is not supported. Use applyEdits()</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33517#M814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...when the extent changes...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;1 - listen &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/Map.html#event:extentChange"&gt;Map.extenChange&lt;/A&gt;&lt;SPAN&gt; event. Now you can handle.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;...to automatically query new graphics...&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;2 - &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#clearSelection()"&gt;clear selection on FeatureLayer&lt;/A&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3 - &lt;/SPAN&gt;&lt;A href="http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/layers/FeatureLayer.html#selectFeatures()"&gt;make a new selection&lt;/A&gt;&lt;SPAN&gt;, where Query parameter "Input Geometry" is Extent you just listened with Map.extenChange handler.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2011 08:23:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/featurelayer-remove-is-not-supported-use/m-p/33517#M814</guid>
      <dc:creator>IvanBespalov</dc:creator>
      <dc:date>2011-07-11T08:23:00Z</dc:date>
    </item>
  </channel>
</rss>

