Select to view content in your preferred language

Disable shift + draw behavior SketchViewModel

387
0
03-14-2023 05:17 PM
RyanSutcliffe
Frequent Contributor

Somewhere around 4.2x update the ArcGIS Maps SDK changed the behavior of the SketchViewModel when the .activeTool was a 'rectangle'. Since then, if you hold down shift, the drawn shape will be kept at equal distance; a perfect square shape. 

See screenshot below. Is there a way to disable this? I have a shift listener in my own code that causes the click response to implement my own logic.  This functionality gets in the way and doesn't have value for my particular use case.

shiftClickSquare.gif

 

 

0 Kudos
0 Replies