AnsweredAssumed Answered

Using Magnify in SketchEditior

Question asked by sandeeps727 on Jul 18, 2017
Latest reply on Jul 19, 2017 by MDostal-esristaff

Hi,

I am using ArcGIS Runtime for iOS 100.0 and trying to use AGSSketchEditor() to create a Polyline sketch. I was wondering, is it possible to use Magnifier also while adding a vertex like in the Collector application? In sample application although the magnifier is shown but it doesn't add vertex .

I tried subscribing to the  didEndLongPressAtScreenPoint event but for it to work , need the selected vertex of sketch on map to update the sketch geometry.

by-

var geo = self.sketchEditorForEditing.geometry. as? AGSPolyline;

 self.sketchEditorForEditing.replaceGeometry(((geo?.toBuilder())?.add(mapPoint).toGeometry())!);

        

I wanted to know, is there a way we can get/set the selected vertex of sketch geometry being drawn on map or any other way to get this working. Thanks in advance!

 

Outcomes