Replies: 2 comments
-
Hey, I stumbled upon this problem, too. Apparently you need to check if the script is fully loaded by using |
Beta Was this translation helpful? Give feedback.
0 replies
-
Try |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm practicing on this package.
This is my code.
My google.maps is under the
<LoadScript />
, but why 'google' is not defined?I added a
<script async defer src="https://maps.googleapis.com/maps/api/js?key=mykey&callback=initMap" />
to index.html, but it didn't work.Next, I will try using
useLoadScript
.Is there anything else I can do?
useLoadScript
also produces a 'google' is not defined error.What should I do?
Beta Was this translation helpful? Give feedback.
All reactions