6

So it appears that Google have fixed the blurry map issue with the 3.9 / 3.10 API, which is great.

But there's a new one with custom markers. As soon as you zoom in one level, the custom markers become corrupted / blurry. They rectify themselves if zooming out, although the process of zooming out also makes the markers slightly blurry.

The 3.8 API does not exhibit this problem with custom markers. Here's a picture illustrating the problem (I suggest you open the image in a new tab; the blurriness isn't as easily visible when the image is scaled to fit this post). The blurring is most noticeable with the straight lines of the paper crane marker:

google maps marker api problem

I've had a prod through the HTML, but I can't really tell how the markers are placed on the map. But I thought that I'd put this issue out there for anyone who has experienced similar, or if anyone has any thoughts on how this can be resolved, save waiting to see if it's a glitch in the API.

I'm using Chrome 24.0.1312.5 beta-m on Windows and Mac and the problem is exhibited in both. It does not happen in Firefox 16.0.2 or Safari 6. Given that Safari doesn't have this problem, I would then wonder if it's a Chrome-specific issue. I should check to see if it occurs with the non-beta version.

Mike
  • 141
  • 2
  • 5
  • Sounds like a bug. Might want to file it at http://code.google.com/p/gmaps-api-issues/issues/ – duncan Nov 13 '12 at 09:20
  • How are you drawing these custom markers? Are they google.maps.Marker objects or pulled in from a KML Overlay? – bamnet Nov 15 '12 at 18:42
  • @bamnet - they're written using google.maps.Marker objects, using code as created by the awesome http://powerhut.co.uk/googlemaps/custom_markers.php . – Mike Nov 27 '12 at 22:42
  • Has anyone found a solution to this yet? – Laurence Tuck Dec 07 '12 at 14:37

1 Answers1

0

Try using a retina icon instead like this, maybe it works:

new google.maps.MarkerImage('icon.png', null, null, null, new google.maps.Size(32,32))

The image is actual a 64x64 image but I am using it as a 32x32 image to get the better pixel density.

Tommy Bjerregaard
  • 1,089
  • 11
  • 24