title: google maps api v3 uncaught typeError: Cannot read property 'offsetWidth' of null
body: <p>Im going through a HTML5 book that includes geolocation, which I've been able to figure out. However, the next step is to include a map using the google maps API. I've already gotten an API key and have structured everything just like the book and the google documentation said, but I can't seem to figure out this problem. On line 29 in the main.js file on <a href="http://ilanshomekitchen.x10.mx/projects/Geolocation/" rel="nofollow">http://ilanshomekitchen.x10.mx/projects/Geolocation/</a>, there is an: "Uncaught TypeError: Cannot  read property 'offsetWidth' of null. I've searched google and so far nothing has worked. I even defined the height and width of the map in the css file on the site.</p>
  
  <p>Any ideas?</p>