We have a simple Google Maps app for traffic: http://www.avonandsomerset.police.uk/newsroom/traffic/
For some reason, it recently stopped working in IE correctly. At the moment, he used the V2 API, so I just updated it to use V3, but it still won’t work in IE.
It works great in Chrome and Firefox . But in all versions of IE I'm tired (6,7,8), Google Map does not load completely.
Problem
A Google DIV map usually loads all controls (Zoom, Powered by Google, map types), but the actual map fragments do not appear in IE. I can just see the gray background div>
What I tried
I only commented on the JavaScript code on the page, but it still has the same problem:
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=false"></script>
<script type="text/javascript" >
var map;
$(document).ready(function () {
initialize();
});
function initialize() {
var options = {
zoom: 9,
center: new google.maps.LatLng(51.335759, -2.870178),
mapTypeId: google.maps.MapTypeId.ROADMAP
};
map = new google.maps.Map(document.getElementById("googleMap"), options);
}
</script>
source
share