jquery.geocomplete.js
function(request){
      // Don't geocode if the requested address is empty
      if (!request.address) {
        return;
      }
      if (this.options.bounds && !request.bounds){
        if (this.options.bounds === true){
          request.bounds = this.map && this.map.getBounds();
        } else {
          request.bounds = this.options.bounds;
        }
      }

      if (this.options.country){
        request.region = this.options.country;
      }

      this.geocoder.geocode(request, $.proxy(this.handleGeocode, this));
    }
function(request){
      // Don't geocode if the requested address is empty
      if (!request.address) {
        return;
      }
      if (this.options.bounds && !request.bounds){
        if (this.options.bounds === true){
          request.bounds = this.map && this.map.getBounds();
        } else {
          request.bounds = this.options.bounds;
        }
      }

      if (this.options.country){
        request.region = this.options.country;
      }

      this.geocoder.geocode(request, $.proxy(this.handleGeocode, this));
    }
function ( request ) { // Don't geocode if the requested address is empty if ( ! request . address ) { return ; } if ( this . options . bounds && ! request . bounds ) { if ( this . options . bounds === true ) { request . bounds = this . map && this . map . getBounds ( ) ; } else { request . bounds = this . options . bounds ; } } if ( this . options . country ) { request . region = this . options . country ; } this . geocoder . geocode ( request , $ . proxy ( this . handleGeocode , this ) ) ; }
Requests details about a given location. Additionally it will bias the requests to the provided bounds.
Requests details about a given location . Additionally it will bias the requests to the provided bounds .