#545 Google Maps - IE 8 - Click Position

Normal Version
closed-accepted
Gerry Kroll
5
2009-10-30
2009-09-20
Frank Warius
No

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

Discussion

  • KosherJava
    KosherJava
    2009-09-21

    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.

     
  • Frank Warius
    Frank Warius
    2009-09-22

    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 } ?>

     
  • Gerry Kroll
    Gerry Kroll
    2009-10-15

    • assigned_to: nobody --> canajun2eh
    • status: open --> pending-accepted
     
  • Gerry Kroll
    Gerry Kroll
    2009-10-15

    Thank you.

    SVN 6234 implements the revised version of this patch.

     
  • Gerry Kroll
    Gerry Kroll
    2009-10-16

    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).

     
    • status: pending-accepted --> closed-accepted