Hi,

I have read througha  bunch of other threads similar to this, but
nothing that matches the behaviour I am seeing.

I have a page that is displaying fine in Firefox 3, but not displaying
markers correctly in IE6.

I have simplified the page as much as possible to isolate the problem
and the marker in the code below is still not dsipalyed in IE6:

<!DOCTYPE html "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/
TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml";>
  <head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/
>
        <link href="style/mapstyle.css" rel="stylesheet" type="text/css" />
    <script src="http://maps.google.com/maps?
file=api&amp;v=2.x&amp;key=ABQIAAAA-
JkbuDyayGv2jgEPw3MpsxTaQC_MkCyYmjMQlw7FsEbE-5wfAhTMTfJjZOaPHg3KJg-
wLuE0cw_1zg&sensor=false" type="text/javascript"></script>
    <script type="text/javascript">

         // Call this function when the page has been loaded
         var map;
  function initialize()
  {
    map = new google.maps.Map2(document.getElementById("map"));

        map.setCenter(new GLatLng(51.50129,-0.104821666666667), 12);

        map.addOverlay(new GMarker(new GLatLng(51.501338,-0.104137)));

  }




</script>
</head>
<body onload='initialize()' id='body' background="images/
background.gif">

<div id="wrapper">
        <div id='mainBlock'>
        <div id='map' ></div>
        </div>
</div>
</body>
</html>

This renders the map fine in Firefox and displays the marker, but in
IE6 the marker is not displayed.

Can anyone suggest what may be going wrong here?

Thanks in advance,

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Maps-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to