examples/with-google-maps-embed/README.md
This example shows how to embed a Google Maps Embed using @next/third-parties.
Execute create-next-app with npm, Yarn, or pnpm to bootstrap the example:
npx create-next-app --example with-google-maps-embed with-google-maps-embed-app
yarn create next-app --example with-google-maps-embed with-google-maps-embed-app
pnpm create next-app --example with-google-maps-embed with-google-maps-embed-app
Next, copy the .env.local.example file in this directory to .env.local (which will be ignored by Git):
cp .env.local.example .env.local
Set the NEXT_PUBLIC_GOOGLE_API_KEY variable in .env.local to match your Google Maps API Key.
Deploy it to the cloud with Vercel (Documentation).