I'm completely new to writing code, but have managed to get a Google map to display the markers in the manor I want. This works fine using my locally hosted IIS with VS 2013 and IE11. I then published the page to my IIS7.5 server and all it does in IE11 is show a grey background. The page works fine in Chrome hosted on the same server? I've since created simpler test pages which again work fine in Chrome, but not IE? Here's the code from the simple page (thanks to who ever I copied it from).
Many thanks in advance
Matt
<html>
<head>
<title></title>
<meta name="ROBOTS" content="NOINDEX, NOFOLLOW">
<script src="http://maps.google.com/maps/api/js?sensor=false" type="text/javascript"></script>
<script type="text/javascript">
function load() {
var mapDiv = document.getElementById("map");
var latlng = new google.maps.LatLng(-34.397, 150.644);
var mapOptions =
{
zoom: 8,
center: latlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
};
var map = new google.maps.Map(mapDiv, mapOptions);
}
</script>
</head>
<body onload="load()">
<div id="map" style="width: 800px; height: 400px;"> </div>
</body>
</html>