Draw Toolbar error

Discussion created by jitendrudu on Jan 6, 2014
Latest reply on Jul 20, 2016 by vasylyna
I am developing a Sencha Touch mobile app and need a drawing toolbar in the app. I followed the same procedure of creating a new draw toolbar, etal.
But when I press a button to activate either a point, line or a polygon type to draw I get this error:
"cannot read property 'navigationManager' of undefined"
Any clue on how to rectify it?
Strangely, it worked when I navigate to some other module and revisit the draw module it does not reproduce the error.

Also, I am able to touch and draw a line, but not a polygon or a point.