js-api-loader icon indicating copy to clipboard operation
js-api-loader copied to clipboard

google is not defined

Open ernanni opened this issue 2 years ago • 3 comments

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.

image

I've tried to workaround this issue by passing the api key inside the script tag itself but didn't work.

ernanni avatar Jul 18 '23 02:07 ernanni