subscribe feed

Archive for May, 2009

Oh great, IE8 has broken pin placement in Google Maps API…

Friday, May 15th, 2009

I’ve been doing some work with Google Maps recent, and a small part of it involves you clicking on the map to place a marker. Nothing too technical!

However, IE8 (rc1 atleast) doesn’t place the pin where you click it. There doesn’t seem to be any sequence to where it moves it to either.

After a bit of googling, I turned up the two posts below which seem to point to the issue being to do with how IE8 returns the position of the click event’s X & Y position.

The quick, dirty work around at the moment is to add:
<meta http-equiv=”X-UA-Compatible” content=”IE=EmulateIE7″ />
to your <head>

http://code.google.com/p/gmaps-api-issues/issues/detail?id=1055
http://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=362142

Copyright Douglas Radburn – douglasradburn.co.uk © 2010
Theme Author: MascaraDesign - Community based WordPress theme.