Select to view content in your preferred language

finish polygon on mobile

784
4
10-28-2017 08:55 AM
MikeGraham1
Emerging Contributor

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
Emerging Contributor

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
Emerging Contributor

Love it !!  

0 Kudos