title: How to get lat/lng from a geo-autocomplete object and google api V2?
body: <p>I'm trying to implements the geo-autocomplete with the jQuery, jquery.autocomplete_geomod and geo_autocomplete plugins and the Google Maps API V2.</p>
  
  <p>In parallel, we're migrating to the V3, so don't be scared to say that my problem is due to the version 2.</p>
  
  <p>So, I need the lat/long returned by the autocomplete, to center my map on this coordinates... but I didn't success to do that !</p>
  
  <p>There's a part of my code. Don't hesitate to ask me questions.</p>
  
  <pre><code>$().ready(function() {
  
      var mygc = new google.maps.Geocoder();
  
      var loc = $('#location').geo_autocomplete(mygc, {
          mapkey: '&lt;?$GOOGLE_KEY?&gt;',
          ...
          geocoder_address: true
  
        }).result(function(_event, _data){
           //if(_data){
                      alert("test");
                      alert( "latitude : " + results[0].geometry.location.lat() );
            //}
                     //alert( "longitude : " + results[0].geometry.location.lng() );
          });
  
      });
  </code></pre>
  
  <p>Regards,</p>
  
  <p>Guillaume from France</p>