Google Maps - IE 8 - Click Position
Brought to you by:
canajun2eh,
yalnifj
Hallo,
Sympton:
The position (point) returned by the click event on Google Maps in Internet Explorer 8 is incorrect and you can't update place locations by cursor.
Soulotion:
See http://blog.bansheetechnologies.co.uk/2009/06/google-maps-ie-8-click-position.html and http://msdn.microsoft.com/en-gb/library/cc817574.aspx.
Add
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
to header.php in each theme
regards
Frank
I would strongly suggest not applying this patch to SVN. A Google maps bug on the issue can be seen at http://code.google.com/p/gmaps-api-issues/issues/detail?id=1055 . This patch would force the standards based PGV to render as IE7 for the entire site, and not just the maps.
KJ, thank You for this friendly and constructive advice!
and here we have a workaround which work only on maps:
Add the following code in the <head> section of header.php in each theme
<?php if ($_GET["pgvaction"]=="places_edit") { ?>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <?php } ?>
Thank you.
SVN 6234 implements the revised version of this patch.
The solution suggested by Frank is actually incomplete.
You need to text for the existence of that _GET variable before you can check it.
Here's what needs to be coded:
<?php if (isset($_GET["pgvaction"]) && $_GET["pgvaction"]=="places_edit") { ?>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
<?php } ?>
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 14 days (the time period specified by
the administrator of this Tracker).