I'm trying to add offset in polygon feature and I'm using Esri a GIS software in C#.
The issue that I'm facing is after I create a polygon and click on functionality for creating offset inside polygon I get,
- A very large offset that cover more area than my polygon Geometry.
- No Offset is drawn.
I use 2 feet offset but user can enter more or less.
Here's the snippet of code that I used,
Geometry geom = webMapView.SketchEditor.Geometry; Geometry Geom = Esri.ArcGISRuntime.Geometry.GeometryEngine.Project(geom, new SpatialReference(4326)); geom = Geom; OffSetGeometry = GeometryEngine.Offset(geom, -distance, OffsetType.Round, 1, 1);
How can I solve this problem?