Click and drag to select features

275
1
Jump to solution
05-14-2018 10:19 AM
MarkCollins
Occasional Contributor

What would be the recommended way to implement a click and drag selection marquee for selecting multiple features?  Should I use the Sketch editor to allow the user to draw a rectangle, get the geometry from the drawn shape, and then use SelectFeaturesAsync ?  Or is there better/easier way to support this functionality?  I've attached a screenshot that shows what I'm trying to accomplish. 

Thanks,

Mark

Reply
0 Kudos
1 Solution

Accepted Solutions
MarkCollins
Occasional Contributor

I've found an existing post here (https://community.esri.com/thread/209959-how-to-use-sketcheditor-in-a-combined-rectangle-and-point-s... ) which contains a solution that works great for my needs.

View solution in original post

Reply
0 Kudos
1 Reply
MarkCollins
Occasional Contributor

I've found an existing post here (https://community.esri.com/thread/209959-how-to-use-sketcheditor-in-a-combined-rectangle-and-point-s... ) which contains a solution that works great for my needs.

View solution in original post

Reply
0 Kudos