Files
Remco Haszing 7aa5d16231 Use the automatic runtime for type checking (#83159)
Co-authored-by: Sebastian "Sebbie" Silbermann <silbermann.sebastian@gmail.com>
2025-09-02 12:35:42 +02:00
..

Example app using Google Maps Embed

This example shows how to embed a Google Maps Embed using @next/third-parties.

Deploy your own

Deploy with Vercel

How to use

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).