Hello,
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".
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.
I've created a example codepen: https://codepen.io/pmag1234/pen/OJoWoVY
The two polygons should both have lines down the middle, but only the one loaded via source does.
Thanks in advance for any help or suggestions!
Patrick
There is a topological error of self-intersection of the geometry.
Due to the existence of common edges, each part should be treated as a separate graphic.
If your purpose is to check the graphic for topological errors, you can directly use the geometryEngine.isSimple() method (https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-geometryEngine.html#isSi...).