title: Google maps - keep center when zooming
body: <p>In Google Maps, I would like to be able to keep the center of the map on a marker on my location when I'm zooming in or out. It's something that Ingress does, it doesn't matter where you double tap (or double click) or where you pinch, the map remains centered on your marker. So it's possible...</p>
  
  <p>The best I came up with for now is :</p>
  
  <pre><code>google.maps.event.addListener(mymap, 'zoom_changed', function() {
      mymap.setCenter({lat: myLoc.lat, lng: myLoc.lon});
  })
  </code></pre>
  
  <p>But it's far from perfect, it just re-center the map after the user already zoomed...</p>
  
  <p>Thanks a lot !</p>
  
  <p>[EDIT] absolutely nothing helps in the API ref... Or elsewhere I'm blind and missed it !</p>