react-google-maps-api
react-google-maps-api copied to clipboard
NoApiKeys even though valid key provided
Hello, I'm playing around with google-maps-api (the repo https://github.com/leighhalliday/google-maps-intro/blob/main/pages/places.js) and I run into a problem. When I try to run the code with my personal api key (that I know is valid and works) I get:
Google Maps JavaScript API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keys
Do anybody know what might be wrong here?
@oenqvist Sorry, there is old version of our lib, and react@17
try to update to react@18 and latest version of our lib, and follow issues to resolve upgrade related issues.
Also you can try to ping Leigh Halliday himself in youtube comments.
Thanks @JustFly1984, updated to react 18 and "@react-google-maps/api": "^2.12.0". Still same problem.. I will look into it more deeply.