how to disable multi touch while sketching geometries in mobile devices

362
0
10-22-2017 08:32 AM
AshishMathew
New Contributor

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.

0 Kudos
0 Replies