Hi Kenny, > However, the shape isn't visible while it's being drawn, only after you've completed the drawing (i.e. lifted your finger).
Yes, I have observed the same behavior. Strange, but I think it is due to another problem, I've done test by adding a log of events and appeared only "touchstart" and first "touchmove". And only at the end the whole figure appeared and simultaneously the whole log. What devices have you used for the tests? (in my case only Android) Xavier Kenny Lam wrote: > > The patch > http://trac.osgeo.org/openlayers/attachment/ticket/3456/touch-freehand-3456.patch > for freehand drawing on mobile devices works! > > However, the shape isn't visible while it's being drawn, only after you've > completed the drawing (i.e. lifted your finger). > > Thanks again. > > On Wed, Aug 3, 2011 at 3:41 PM, Kenny Lam <khl1...@gmail.com> wrote: > >> Hi, >> >> I'm having problems with any sorts of freehand drawing on a mobile >> platform >> with 2.11. I haven't had any success with a potential solution, and it >> either passes the motion into the browser window itself and pans the >> browser >> app or does nothing, but clearly tries to keep up with the tapped >> position. >> I'm using the handlers from polygon and path, and neither seems to work >> right. Any solutions? >> >> Thanks. >> > > _______________________________________________ > Dev mailing list > d...@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/openlayers-dev > -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Problems-with-freehand-drawing-in-2-11-tp6649961p6669304.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev