title: Debouncing Google Maps Autocomplete
body: <p>Good day.  </p>
  
  <p>Right now I'm using google maps to autocomplete addresses on my service. 
  This is the code:  </p>
  
  <pre><code>autocomplete = new google.maps.places.Autocomplete(
      /** @type {!HTMLInputElement} */
      (document.getElementById('address_field')),
      {
          types: ['address'],
          componentRestrictions: {country: 'us'}
      }
  );
  </code></pre>
  
  <p>And as I type, it pings the google server for suggestions.<br>
  These pings are taking up a lot of tokens.  </p>
  
  <p>So I'm thinking - is there a way to debounce the request?  </p>
  
  <p>I tried debouncing it with the debounce library, but that obviously doesn't work.<br>
  Also tried adding a delay:300 to the options object, still nothing.</p>
  
  <p>Any help would be greatly appreciated</p>
  
  <p><strong>Edit</strong>: After the changes to Google Maps's pricing in May 2019. You do not longer pay per request, but rather per autocomplete session. It doesn't matter how many search queries the user types in, they all will still be counted as one session. 
  Thus making this question moot.</p>