<?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 FeatureLayer Difference in Source vs. ApplyEdits in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-difference-in-source-vs-applyedits/m-p/1262706#M80421</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've noticed a discrepancy when creating a feature layer. If I add a graphic when creating the feature layer using the "source" property, I get a different visualization vs. adding the exact same graphic using "applyEdits".&lt;/P&gt;&lt;P&gt;The visualization difference is related to overlapping polygons. I want the overlapping polygons to show where the overlap is, and it only happens with source, not with applyEdits.&lt;/P&gt;&lt;P&gt;I've created a example codepen:&amp;nbsp;&lt;A href="https://codepen.io/pmag1234/pen/OJoWoVY" target="_blank"&gt;https://codepen.io/pmag1234/pen/OJoWoVY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The two polygons should both have lines down the middle, but only the one loaded via source does.&lt;/P&gt;&lt;P&gt;Thanks in advance for any help or suggestions!&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 20:33:36 GMT</pubDate>
    <dc:creator>PatrickMaguire</dc:creator>
    <dc:date>2023-02-28T20:33:36Z</dc:date>
    <item>
      <title>FeatureLayer Difference in Source vs. ApplyEdits</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-difference-in-source-vs-applyedits/m-p/1262706#M80421</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I've noticed a discrepancy when creating a feature layer. If I add a graphic when creating the feature layer using the "source" property, I get a different visualization vs. adding the exact same graphic using "applyEdits".&lt;/P&gt;&lt;P&gt;The visualization difference is related to overlapping polygons. I want the overlapping polygons to show where the overlap is, and it only happens with source, not with applyEdits.&lt;/P&gt;&lt;P&gt;I've created a example codepen:&amp;nbsp;&lt;A href="https://codepen.io/pmag1234/pen/OJoWoVY" target="_blank"&gt;https://codepen.io/pmag1234/pen/OJoWoVY&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The two polygons should both have lines down the middle, but only the one loaded via source does.&lt;/P&gt;&lt;P&gt;Thanks in advance for any help or suggestions!&lt;/P&gt;&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 20:33:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-difference-in-source-vs-applyedits/m-p/1262706#M80421</guid>
      <dc:creator>PatrickMaguire</dc:creator>
      <dc:date>2023-02-28T20:33:36Z</dc:date>
    </item>
    <item>
      <title>Re: FeatureLayer Difference in Source vs. ApplyEdits</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-difference-in-source-vs-applyedits/m-p/1262861#M80424</link>
      <description>&lt;P&gt;There is a topological error of self-intersection of the geometry.&lt;/P&gt;&lt;P&gt;Due to the existence of common edges, each part should be treated as a separate graphic.&lt;/P&gt;&lt;P&gt;If your purpose is to check the graphic for topological errors, you can directly use the geometryEngine.isSimple() method (&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#isSimple" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#isSimple&lt;/A&gt;).&lt;/P&gt;</description>
      <pubDate>Wed, 01 Mar 2023 01:59:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/featurelayer-difference-in-source-vs-applyedits/m-p/1262861#M80424</guid>
      <dc:creator>Lerman</dc:creator>
      <dc:date>2023-03-01T01:59:16Z</dc:date>
    </item>
  </channel>
</rss>

