cwood@gisdynamics.com

Tired of arbitrary circles/arrows/triangles/ellipses/rectangles from a single click?

Discussion created by cwood@gisdynamics.com on Mar 27, 2020

The circle/arrow/triangle/ellispe/rectangle/extent tools will all drop a shape from a single click.

 

To work around this behavior, in your event handler for draw-complete, do not add the graphic to your map if event.target._dragged is false. For safety, make sure to check the draw tool beforehand.

 

This does not fix the problem on touch-enabled devices. I have not gotten around to remote debugging mobile devices.

Outcomes