What is the ScriptLoaded component used to Wrap GoogleMap component like for GroundOverlay example ? #2965
Unanswered
JulienDesmettre
asked this question in
Q&A
Replies: 1 comment 1 reply
-
I have the same question. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hello, i'm trying to set a GroundOverlay component as you do here in your doc: https://react-google-maps-api-docs.netlify.app/#groundoverlay
If i try to require
const ScriptLoaded = require('../../docs/ScriptLoaded').default;
that's throw an error when running Gatsby dev "Module not found: Can't resolve '../../docs/ScriptLoaded" ( but no error in my TS server...??? ).As is, if i don't wrap my div in ScriptLoaded component but in LoadScript component, the GoogleMap works , but not the GroundOverlay. Does the ScriptLoaded component is compulsory to make the GroundOverlay appear ? What is this component ( i don't find anything on Google ).
Thanks in advance for your help.
Beta Was this translation helpful? Give feedback.
All reactions