• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Apps Maybe someone can explain this to me...

ChrisWTI

Lurker
I have recently started developing with Sencha Touch, which is a javascript library targeted at mobile devices. From what I have found online, it sounds as if the iOS devices are the only ones that support pinch events in javascript. My experience working with with Sencha Touch on the Motorola Xoom has confirmed this. The pinch events fire, but it doesn't update the position data as you pinch (the coordinate stay the same as when the event started). So far this all makes sense to me.

Where I start getting lost is when I see the Google maps example. Google's V3 javascript API is used and in this example program, on the Xoom, using javascript, google maps is using pinch to zoom. It works beautifully, inside the browser, independent of other elements in the page. I can't figure out how they are doing this. From my understanding, because the pinch event doesn't work in javascript the Google maps V3 javascript API shouldn't be able to do that.

Does anyone know how this works? And if it is possible for me to do the same thing to leverage pinch events in my own application?
 
Back
Top Bottom