Alter draw POLYGON tool behavior

3688
2
03-26-2015 12:54 PM
JerryGarcia
Occasional Contributor II

Currently, when moving the mouse, you cannot insert points.  This can only be done when the user stops moving the mouse.  My users think this is really annoying. Can the code behind the draw POLYGON tool be altered or is it hidden? Thanks!   this.drawToolbar.activate(Draw.POLYGON);

0 Kudos
2 Replies
ChristopherTotty
New Contributor III

I'm not completely sure I understand, but perhaps the FREEHAND_POLYGON type would be a better option?

0 Kudos
JerryGarcia
Occasional Contributor II

Thanks.  They have tried the FREEHAND tool and do not like it.

As is, the POLYGON tool is annoying for the following reason:

*It only allows you to insert points if you stop the mouse and click.

*If you click while moving the mouse, it pans the map.

(when you would expect a point to be inserted). Thanks again!

0 Kudos