1
votes

I am using the WebView component to display the Google Maps and the JavaScript API v3 for interacting with the map.

The only way to zoom the map I have found on Android are zoom controls(+/-) generated into map by the Google Maps service. The pinch-to-zoom (See there) is not working either in embedded WebView or in the built-in stand-alone web browser when I go to the maps.google.com web pages. Interesting is that pinch-to-zoom works on other web pages...

Is this kind of Google restriction? Does it depend on the Android OS version?

1

1 Answers

0
votes

I understand that this is because the older android browsers don't allow multitouch events to the javascript runtime. Hence, the API shows the zoom controls as the multitouch events won't be recognized.

Refer google Issue tracked here

I have tried the same on Android 4.1 JellyBean and it works fine there (allowing multi touch events. Think Google may have fixed this :) )