@bigfishtv/react-geosuggest

A FORKED version of React autosuggest for the Google Maps Places API.

Usage no npm install needed!

<script type="module">
  import bigfishtvReactGeosuggest from 'https://cdn.skypack.dev/@bigfishtv/react-geosuggest';
</script>

README

React Geosuggest (FORKED)

yarn add @bigfishtv/react-autosuggest

Usage

See original React Autosuggest for usage.

Changes

Adds the following additional props

transformUserInput function (userInput: string) => string

Modify the input value before sending to AutocompleteService. Does NOT modify what is shown in the input field.

alwaysUseGeocoder boolean (default: false)

Always use the Geocoder when resolving a selection to a place.