Select to view content in your preferred language

polygon vertices shift after using cutOperator

54
1
14 hours ago
clementlaskar
New Member

Hello,

I'm trying to use the cutOperator to split a polygon with a polyline.

https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-operators-cutOperator.ht... 

Cutting the polygon alongside the line seems to be successfull. However the other vertices are slightly shifted, causing topological issues.

Using the Editor widget, I don't see any problem, cutting the geometry is ok and no vertex shift.

What could be the problem ?

 

0 Kudos
1 Reply
clementlaskar
New Member

I was cutting the feature graphic that I fetched using a mapView hitTest.

I changed to get the feature geometry directly from the service. 

Using the cutOperator with the geometry from the service is fine and I don't get vertices shift.

0 Kudos