finish polygon on mobile

617
4
10-28-2017 08:55 AM
MikeGraham1
New Contributor II

I'm having difficulty getting double-click to work (it does work, but it is hard).

Is there another way to complete the polygon draw in 

SketchViewModel?
I could create a button, but how do i tell the SketchViewModel the polygon should complete?
0 Kudos
4 Replies
UndralBatsukh
Esri Regular Contributor

Hi there, 

We will keep improving user experience on mobile devices.  At 4.7, SketchViewModel will have a new method called `complete` which you can call to complete the active drawing and fire `draw-complete` event. I hope you will find this method useful.

MikeGraham1
New Contributor II

Brilliant !!  

0 Kudos
UndralBatsukh
Esri Regular Contributor

Hi Mike, 

SketchViewModel.complete() method will be available as of 4.6 not 4.7. Hopefully this is good news.

MikeGraham1
New Contributor II

Love it !!  

0 Kudos