Google Maps API version 3 causing images to be blurry / fuzzy

Go To


For some reason on Safari 5.1.5 Google Maps is blurring some of my images. Take for example - when it loads the chandelier renders crisply for a moment, and then blurs out.


<script type="text/javascript" src="//">   </script>

from my code stops this happening. It only seems to affect Safari - this doesn't happen in Firefox or Chrome. I haven't tested any older versions of Safari, so it may be a bug? I've also tried clearing my cache, restarting my computer + updating Safari, no change.

Any ideas?


2012-04-03 21:53
by SparrwHawk
Just tried it on Firefox, I can attest that it works fine. This seems like it's a browser specific issue. You might want to add a vanilla "Safari" tag to the post and remove "image processing" as it doesn't fit the description - Mr. Llama 2012-04-03 22:21
Cool, done it :- - SparrwHawk 2012-04-03 22:26
If you came here because you experience this on mobile devices and the solutions don't help, please see and star the issu - Florian 2012-10-27 13:43


I am unable to reproduce the bug in Safari. However, two possible workarounds:

  1. Load the script asynchronously. Check out the basic Getting Started page of the maps api and find the section Asynchronously Loading the API:

  2. Try using a Google Static Maps image instead, which won't load the JavaScript just an image of the map. I suggest that because you appear to not be using the dynamic features of the Google Maps API.

2012-04-03 23:03
by Mano Marks
Thanks for your suggestions Mano. I tried the Async method, it didn't fix the problem. I'd rather use a dynamic map because it is less work to maintain, but I've gone with your suggestion of using an image instead for now, which of course fixes the problem. Thanks agai - SparrwHawk 2012-04-05 09:58


I also had this problem, with the map itself and fonts on the page. After a long time trying to fix this, this are my conclusions:

<script type="text/javascript" src=""></script>

<script type="text/javascript" src=""></script>

The first one (same as yours) gives me blurry maps. If I comment it out and force the version 3.5 the maps are crisply and happy!

I also had problems with Google Maps API changing anti-aliasing in my website fonts. I managed to fix this on my main style.css:

* {
    -webkit-font-smoothing: subpixel-antialiased !important;

I hope this helps you or someone. Note: I'm using the twitter bootstrap framework.

2012-05-25 01:02
by TCB13


This issue is now occurring for me with the difference between the 3.8 and 3.9 API on Chrome (23 beta). If I specify the 3.9 API, it shows the maps correctly for a split second and then makes everything blurry. If I specify the 3.8 API it works as it should.

You can see the problem here:

The problem is on ; I've currently set the 3.8 API as a workaround, but when v10 is eventually released, it's going to likely force 3.9 to be the lowest available API.

From my own poking about, 3.9 and 3.10 seem to invoke Chrome (and by extension Safari I would imagine) to render everything with GL compositing as it adds -webkit-transform: translateZ(0); to all map elements. This appears to be the cause of things looking hideous.

2012-10-08 01:59
by Mike