Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers 2

up vote 4 down vote accepted

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..

share|improve this answer
add comment

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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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