chung789

Drawing Tool sometimes locks pan tool and can never finish drawing a polygon/polyline

Discussion created by chung789 on Jul 25, 2012
Latest reply on Aug 12, 2013 by vinaybansal
Hi

I'm developing a map application using Javascript API and I noticed (1) sometimes I can't pan the map after using the freehand drawing tools and (2) sometimes I can never finish drawing polyline/polygon by double clicking. At first I thought it's a problem in my code but then I found out the problems also exist in this sample . Could this be a bug in the API and is there any way to work around it?

Steps to reproduce problem (1)
1. Draw a Point on the map
2. Draw a Freehand Polyline on the map
3. Draw a Point on the map again
Now try to pan the map. It's no longer possible

Steps to reproduce problem (2)
1. Draw a Point on the map
2. Draw a Polyline on the map (not freehand)
3. Draw a Point on the map again
Now try to draw another Polyline (not freehand). Each time we double click it just adds a new vertex and we can never finish drawing the line

Thanks in advance!

Outcomes