Skip to content

netojose/react-google-places-typeahead

Repository files navigation

License Last commit Open issues Stars Npm version Minified size Minified gzipped size Downloads

Google Maps Places Autocomplete React component

A React component to build a customized UI for Google Maps Places Autocomplete

Demo

Features

Comming soon

Instalation

npm install --save @netojose/react-google-places-typeahead

Getting Started

Comming soon

Props

prop Description type default value required
children function to render items function Yes
value Search input value string Yes
onChange On change event function Yes
onError On error event function () => null No
gMapsCallback Callback name to initialise component after google script is loaded string null No
onSelect On select event function () => null No
debounce Interval between each Google API service call (in ms) integer 200 No
searchOptions Options to Google Maps API object {} No

children

Comming soon

value

Comming soon

onChange

Comming soon

onError

Comming soon

gMapsCallback

Comming soon

onSelect

Comming soon

debounce

Comming soon

searchOptions

Comming soon

Utility Functions

geocodeByPlaceId

Comming soon

geocodeByAddress

Comming soon

getLatLng

Comming soon

loadScript

Comming soon