Google Maps Api Versus maps.google.com on IPad

73 views
Skip to first unread message

chuby.qc

unread,
Sep 7, 2010, 5:22:08 PM9/7/10
to Google Maps JavaScript API v3
I have a very simple page; basically, I load the maps api in a div
which is full page.

Everything works fine except for the zoom. First, the animation if far
from being as smooth as it is on maps.google.com.

Second, it may be the same problem actually, when the animation is
near finished, the zoom level flickers. It changes suddenly and then
the actual tiles required for the new zoom level are loaded.

Do you have any idea why such a thing happens?

Keep those things in mind:
* I added this meta tag: <meta name="viewport" content="initial-
scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no" />
* I tried a smaller map, but the problem is the same
* I think the problem is also present on the IPod, I don't know about
the IPhone.
* I was having this problem with a map with some polygons and markers
on it, so I tried removing it, nothing changed.
* I load the api with this line: <script type="text/javascript"
src="http://maps.google.com/maps/api/js?v=3.x&sensor=false"></script>
But I was doing it with the Ajax API before, so it's not related.

Thanks.

chuby.qc

unread,
Sep 8, 2010, 5:23:41 PM9/8/10
to Google Maps JavaScript API v3
I thought about my problem, and I really feel like on the
maps.google.com, zoom animation, and maybe panning too, is done with
webkit animation.

Anyone thinks that could be the case too?

chuby.qc

unread,
Sep 8, 2010, 5:30:32 PM9/8/10
to Google Maps JavaScript API v3
When I said webkit, I was thinking about html5, not the native stuff.

chuby.qc

unread,
Sep 9, 2010, 8:54:15 AM9/9/10
to Google Maps JavaScript API v3
I searched in the maps javascript and could find some reference to
WebkitTransition.

I don't know how it's being used though.

I would really appreciate feedback on this issue.

chuby.qc

unread,
Sep 9, 2010, 9:34:55 AM9/9/10
to Google Maps JavaScript API v3
I just tried loading api v3.0, instead of 3.x or 3.2, and the zooming
is now correct.
Reply all
Reply to author
Forward
0 new messages