title: Google map not printing properly
body: <p>I'm having some trouble with printing a Google Map through the JavaScript API V3. The problem is that the Map is displayed in two parts and the top and bottom part of the map are partly overlaying each other.</p>
  
  <p>The code looks like this: </p>
  
  <pre><code>  var geocoder;
    var map;
    function initialize() {
      geocoder = new google.maps.Geocoder();
      var latlng = new google.maps.LatLng(-34.397, 150.644);
      var mapOptions = {
        zoom: 12,
        center: latlng,
        scrollwheel: false,
        mapTypeId: google.maps.MapTypeId.ROADMAP
      }
      map = new google.maps.Map(document.getElementById('map_canvas'), mapOptions);
      codeAddress();             
    }
  
  
    function codeAddress() {
      var address = document.getElementById('address').value;
      geocoder.geocode( { 'address': address}, function(results, status) {
        if (status == google.maps.GeocoderStatus.OK) {
          map.setCenter(results[0].geometry.location);
          var marker = new google.maps.Marker({
              map: map,
              position: results[0].geometry.location
          });
        } else {
          alert('Geocode was not successful for the following reason: ' + status);
        }
      });      
    }
  </code></pre>
  
  <p>Can anyone say what's wrong?</p>