I am building a website that primarily consist of large (manipulable) graphs and Google Maps overlayed with different kinds of data. The website navigation is a horizontal bar
Do you mean like this: http://jsfiddle.net/8PpjH/1/
Add a container:
Set some styles:
html { height: 100% }
body { height: 100%; margin: 0px; padding: 0px }
#container { width: 100%; height: 100% }
#nav { z-index: 100; position: absolute;
margin: 10px 0px 0px 200px; background-color: #fff;
border: 1px #000 Solid; padding: 5px; }
#map { width: 100%; height: 100% }
Load the map:
var mapOptions = {
center: new google.maps.LatLng(40.435833800555567, -78.44189453125),
mapTypeId: google.maps.MapTypeId.ROADMAP,
zoom: 11
};
var map = new google.maps.Map(document.getElementById("map"), mapOptions);