hibiken / react-places-autocomplete

React component for Google Maps Places Autocomplete
https://hibiken.github.io/react-places-autocomplete/
MIT License
1.38k stars 388 forks source link

react-google-autocomplete infinite loading with react-google-maps #277

Open talon-so opened 5 years ago

talon-so commented 5 years ago

On npm start, first load of the project will work as intended.

What is the current behavior? After page refresh, dropdown menu displays "loading..." infinitely

*Edit After removing react-google-maps component from the page I found that it works fine. How can I have autocomplete working in conjuction with a map component in the same page?

jmayergit commented 5 years ago

See my comment in this issue, it solved the problem for me.

CrisGarcis commented 4 years ago

index.js:1375 Google Maps JavaScript API error: ApiNotActivatedMapError

The Maps JavaScript API is not activated on your API project. You may need to enable the Maps JavaScript API under APIs in the Google Cloud Platform Console.

Follow this guided flow to enable the Maps JavaScript API for your project.