AnsweredAssumed Answered

how to disable multi touch while sketching geometries in mobile devices

Question asked by amathew121 on Oct 22, 2017

I am trying the sample code (ArcGIS API for JavaScript Sandbox) to draw geometries using SketchViewModel. 

 

When the polygon tool is active, I can't zoom the map. And the zoom gesture causes an unintended drawing of the polygon, as shown below

            

 

How can I disable multi touch while drawing. I tried writing a handler using view.on('pointer-up', ...) but the handler is called after the drawing is made, so no use with it.

Outcomes