My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 4046: Bug: Pinch/Zoom on iPhone
21 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Sep 2012


Sign in to add a comment
 
Reported by [email protected], Mar 26, 2012
I have an issue on an HTML test page.

http://www.isatechnologies.com/clients/maptest/map.html

When this site is viewed on an iPhone with the latest iOS, the pinch/zoom is offset. It does not zoom to the center of the pinch gesture. The further you scroll down the page, the more offset the pinch is. If I add more text in front of the map, the situation is made worse. 

http://www.isatechnologies.com/clients/maptest/map2.html

Any advice on this would be appreciated.
Apr 12, 2012
#1 [email protected]
This issue appears for me on an iPad 2 iOS 5.0.1 using:
/api-3/6/14/main.js
/api-3/7/15/main.js
/api-3/8/7/main.js   (The latest)
Jul 17, 2012
#3 [email protected]
It is the same issue - but it was fixed a while back.

Then, in iOS 5, it became an issue again. 
Jul 23, 2012
#5 [email protected]
Reproduced on an iPad.
Status: Confirmed
Labels: Regression-Yes Internal-6867484
Aug 23, 2012
#6 [email protected]
We are running into the same issue, on both iOS 5.x and 6.0 beta, using the latest maps api. This issue makes embedded maps unusable on the ipad and iphone if they are part of a scrolling page. It's not only the pinch/zoom which is affected; the Drawing Library tools are offset as well (but only if one drags to create a shape, just tapping to create points works fine). Has there been any progress, or a workaround?
Sep 9, 2012
#7 [email protected]
Fixed in 3.9 and 3.10
Status: Fixed
Sep 10, 2012
#8 igor.kalashnikov
Great, thank you!
Sep 29, 2012
#9 [email protected]
This still occurs in v3.9 as for today. Besides that, when people zoom on a page by pinching and this zoom is a little bit off, the setCenter and setBounds functions also show the same deviation. The more these functions are used, the more the positions on the map change. 

This can be confirmed by using the following Google provided example page: https://google-developers.appspot.com/maps/documentation/javascript/examples/directions-complex
When randomly zooming and pinching (zooming in and out some time - from the corners, not from the center of the map) and then asking for directions, the setBounds puts you at a completely different place than where the route actually is presented on the map. I think this is all related to this issue, although the effect sometimes is hard to reproduce when only pinching from the center of the map. On first initialization and without pinching, the setCenter and setBounds keep giving the right values.

It actually bugs me very much as I thought this problem would have been solved since the 10th of September. I am producing a mobile webapplication which will be used by more than 200.000 people within two weeks, so this definitely makes the webapp pretty unusable.

This is tested and confirmed on the following devices:
iPhone 4S w/ iOS 5.1.1 / iOS 6.0 (although effect is less visible because of screen resolution, only after following the above procedure for a while)
iPad 1 w/ iOS 4.2.1
iPad 2 w/ iOS 5.1.1
May 11, 2015
#10 [email protected]
The issue is still there when map is loaded in a friendly iframe
Sign in to add a comment

Powered by Google Project Hosting