AnsweredAssumed Answered

SketchEditor move 2 points along circle to take a portion of the circle

Question asked by nathan.raley on Dec 14, 2018
Latest reply on Dec 18, 2018 by mnielsen-esristaff

Is it possible to set up the sketch editor so that you have two points that you can drag along the perimeter of the circle so that you can take a portion of the circle?  We have scenarios where the users aren't wanting to have a full circle, but rather a portion of it, think of it as either taking a piece out of the pie or taking the pie with the piece cut out of it.

 

We'd like them to drag the two points around the perimeter of the circle to determine how much of the circle they want to take when they choose to take a partial pivot.

 

We were thinking of adding the circle as a feature on the map, setting it with no fill and an outline utilizing a dashed line.  Then putting 2 points on top of each out in the sketch editor.  As they move the points we'd add another circle feature that is filled with the area between the two points.  We'd need to snap the points along the perimeter of the 1st circle feature though, which we aren't quite sure how to accomplish that piece.

 

Any ideas on how to implement something like this?

Outcomes