title: Google Maps V3 setCenter Moves pos to top left
body: <p>I've read <a href="https://stackoverflow.com/questions/2773263/google-maps-setcenter-problem">this post</a> but the problem persists. Basically when I use <code>setCenter</code> on a LatLng, the marker is always in the top left of the map, just out of sight.</p>
  
  <p>The marker is placed in the correct spot, but when I use either <code>panTo</code> or <code>setCenter</code> the marker is always hidden top left, just out of sight.</p>
  
  <p>It works fine within Safari on the desktop, but the problem occurs on the iPhone. I am using Javascript, jQuery, jQuery Mobile.</p>
  
  <p>Is there a fix for this?</p>
  
  <pre><code>&lt;div id="map_canvas" style="height:280px;"&gt;&lt;/div&gt;
  googleMap.get('map').setCenter(latLng);
  </code></pre>
  
  <h2>googleMap is defined as:</h2>
  
  <pre><code>$('#map_canvas').gmap({ 'disableDefaultUI': true, 'callback': function (map) {
      googleMap = this;
  </code></pre>
  
  <h2>Adding markers:</h2>
  
  <pre><code>googleMap.addMarker({ 'position': new google.maps.LatLng(markers[t].latlng.$a, markers[t].latlng.ab), 'label': markers[t].label}, function (map, marker) { })
  </code></pre>