4

If you go to THIS OpenLayers Mobile example on android you'll notice that "pinching" for zooming does not work. But it works for iPhone and iPad.

Anyone know how i can get "pinching" to work on Android?

4

This is a known flaw in most Android 2.x browsers, they do not handle multi-touch events.

I know that Opera Mobile for Android does handle multitouch, and thus pinch zoom, but none of the other browsers I've tested (stock, dolphin, firefox)..

The best strategy is thus to nag on the browser vendors..

3

You can now re-enable (or more accurately: polyfill) this Android 2.x most-wanted feature with the WebView MultiTouch Polyfill (WMP) .

This will of course only help if you are developing your own HTML5-app or simply want a multi-touch enabled webkit browser (meaning the stock browser) that you can use to test mobile multitouch apps.

I have just tested the OpenLayers Mobile Example link that was provided above on my phone running 2.3.3 with WMP, pinch-zooming & double-tap work like a charm.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.