title: Google Maps Api: set center of the map to an offset in pixels?
body: <p>this might be a weird question …</p>
  
  <p>I'm using the google maps api to embed custom maps on my webpage. I pass the <code>lon/lat</code> coordinates along to a function and a map is drawn with this point "centered" in the middle. (my map frame is like 300px high, so the marker is approx at 150px)</p>
  
  <p>Since I'm also using custom <code>infoWindows/Boxes</code> I'd like to move the center of the map a bit down.</p>
  
  <p>I know I could set a seperate center in <code>lon/lat</code> coordinates but that's not what I'm looking for. This would require for every map to pass along the coordinates of the marker and the coordinates of the center I'd like to have.</p>
  
  <p>I'd like it to be more simple.</p>
  
  <p>Is it possible to move the center of the map just a few pixels down?</p>
  
  <p>Like <code>center: +30px,</code> :)</p>
  
  <pre><code>var latlng = new google.maps.LatLng(ll[0], ll[1]); // latitude and longitude
      var options = {
      zoom: zoom,
      //center: c,
      mapTypeId: google.maps.MapTypeId.ROADMAP,
      mapTypeControl: false,
      disableDefaultUI: true,
      scrollwheel: scroll,
      streetViewControl: false,
      navigationControlOptions: {  
          style: google.maps.NavigationControlStyle.SMALL 
      }
  }
  </code></pre>
  
  <p>Any idea how I could do that? Any oder tricks or ideas?</p>