I would like to insert 2 points into pointcollection. After insert i create Polygon and this poligon have 6 points.Name polygon is polygonSecond.
Before that, i created another polygon with name polygonMain.I would like to use GeometryEngine.Difference for creating hole into polygonMain with polygonSecond. After creating Hole on polygonMain i have 5 points in part 2 of polygonMain which this part is created from polygonSecond.
After that i have wrong form of polygonMain.
How to solved this problem?