Debouncing Google Maps Autocomplete

As of now, Google Maps Autocomplete does not support debounce on API call. Though an issue related to this has been already registered.

https://code.google.com/p/gmaps-api-issues/issues/detail?id=5831


You can customize Google map autocomplete component with Retrieving Autocomplete Predictions and Place Details

Here is a simple demo with React.Custom Google Map Autocomplete

Hope this can help you, thanks.

const handleSearch = () => {
  autocompleteService.getPlacePredictions(
  {
    input: text,
    origin: latLng,
    componentRestrictions: {
      country: "NG", // country: string | string[];
    }
  }, handleSuggestions);
}