AI-generated Key Takeaways
-
Easily embed interactive maps and Street View panoramas on your web page using the Maps Embed API with a simple HTTP request.
-
Configure the
src
attribute of an iframe with a URL containing parameters like place name, address, or Place ID to specify the map location. -
The Maps Embed API is free to use with unlimited usage, offering a quick and straightforward way to integrate Google Maps content.
-
Get started quickly with an iframe generator, set up your Google Cloud project for development, or explore detailed documentation on embedding maps.
Place an interactive map or Street View panorama on your web page with Maps Embed API. Use a simple HTTP request; no JavaScript required.
You can set the Maps Embed API URL as the src
attribute of an
iframe. When configuring a src
property, the required q
parameter can support a URL-escaped place name, address, plus code, or Place ID:
<iframe
width="600"
height="450"
style="border:0"
loading="lazy"
allowfullscreen
referrerpolicy="no-referrer-when-downgrade"
src="https://www.google.com/maps/embed/v1/place?key=API_KEY
&q=Space+Needle,Seattle+WA">
</iframe>
Getting started
Use an automatic iframe generator to embed a map into your webpage:
Start developing with the Maps Embed API by setting up your Google Cloud project:
For an index of all the possible parameters for the Maps Embed API request, see the Embedding a map guide: