js-api-loader
js-api-loader copied to clipboard
google is not defined
I'm implementing the Map feature in an nextjs personal project of mine.
I've imported the script on _app.js and did as the documentation demonstrates.
Although when I run the Map component the following error appears.
I've tried to workaround this issue by passing the api key inside the script tag itself but didn't work.