tobinharris
4 Jul 2010, 6:52 AM
Hi folks
I'm wanting to implement pinch to zoom using Sencha Touch.
As an example, if you take the Solitaire demo app and imagine that the user can pinch to zoom in or out on the board, and then swipe to move around it vertically and horizontally. Any initial hints as to how would you do that?
The simplest goal is that the elements scale up/down as the user pinches either way. Taking the idea a step further, I'd like my view to update itself to show more details depending on how zoomed in you are.
My starting point is to play with the CSS scale factor, but any pointers welcome.
T
I'm wanting to implement pinch to zoom using Sencha Touch.
As an example, if you take the Solitaire demo app and imagine that the user can pinch to zoom in or out on the board, and then swipe to move around it vertically and horizontally. Any initial hints as to how would you do that?
The simplest goal is that the elements scale up/down as the user pinches either way. Taking the idea a step further, I'd like my view to update itself to show more details depending on how zoomed in you are.
My starting point is to play with the CSS scale factor, but any pointers welcome.
T