Style lags on iPhone4 Safari

13 views
Skip to first unread message

Boris Rarden

unread,
Oct 4, 2011, 2:45:53 PM10/4/11
to google-map...@googlegroups.com
Hi,

I'm applying styling to the map, and viewing the map inside Safari on iPhone4 (not simulator, real iphone).   I see for a split second the default map color when the map loads, as well as when I pan and new tiles are loaded. 

Here's a URL with the attached test file hosted:

http://random.hypervolume.com/mobile_map.html

I think this is a bug, and I don't know how to work around it.

Please note that this doesn't happen on the desktop or in the iPhone simulator. 
test.html

Rossko

unread,
Oct 4, 2011, 3:19:38 PM10/4/11
to Google Maps JavaScript API v3
> I'm applying styling to the map, and viewing the map inside Safari on
> iPhone4 (not simulator, real iphone).   I see for a split second the default
> map color when the map loads, as well as when I pan and new tiles are
> loaded.

The API underlays a static map, which is then hidden by 'proper'
tiles.

This might help
http://groups.google.com/group/google-maps-js-api-v3/browse_thread/thread/659ddc17bb442c4b/10315c40dca73317

Boris Rarden

unread,
Oct 4, 2011, 3:55:49 PM10/4/11
to google-map...@googlegroups.com
Ok, using  useStaticMap:false resolves the problem.

Rossko

unread,
Oct 4, 2011, 5:37:29 PM10/4/11
to Google Maps JavaScript API v3
> Ok, using  useStaticMap:false resolves the problem.

Do take note it is an undocumented option, it might disappear.
So far as I can see there is no formal enhancement request for it at
http://code.google.com/p/gmaps-api-issues/issues/
but Berry (bratliff) may know more
Reply all
Reply to author
Forward
0 new messages