Javascript 4.x Editor Widget - Constrain Sketch Tool Method?

382
1
12-10-2020 07:52 AM
MichaelSnook
Occasional Contributor III

Hi all

Wondering if anyone out there has a sample on how to control the editor widget tool type when editing specific feature layers?  I am try to restrict a certain polygon feature class to only allow the 'rectangle' tool.  Also, if there are samples on how to watch a move event on edit features that would also be helpful.

Thanks!

Mike

0 Kudos
1 Reply
NilsBabel1
Occasional Contributor

Hello, did you ever find a solution for this?  I'm trying to do the exact same thing.  I thought the edit tool would default to whichever tool was set in the editor template.  That does not appear to be the case.  I'm not sure what the point of the default create tool is in the template.  Shouldn't be this hard but I can't seem to find a solution.  Thanks very much.  

0 Kudos