subscribe feed

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

Posted on Friday, 15th May, 2009 by Douglas Radburn

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

Related posts

You may be interested in the following related posts:

User Comments


  1. Graham

  2. Giorgio

Leave a Reply

avatar

Your name

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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