The Maps Embed API overview
Place an interactive map or Street View panorama on your web page withMaps Embed API. Use a simple HTTP request; no JavaScript required.
Note: Street View imagerycomesfrom two sources: Google (non-public developer-controlled imagery), and the public(UGC, or public user-generated content). Note that there is no way to use only one source of StreetView imagery over the other. Learn more about ourStreet view imagery privacy policy.You can set the Maps Embed API URL as thesrc
attribute of aniframe. When configuring asrc
property, the requiredq
parameter can support a URL-escaped place name, address, plus code, orPlace ID:
<iframe width="600" height="450" 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 yourGoogle Cloud project:
For an index of all the possible parameters for the Maps Embed API request, see the Embedding a map guide:
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-12 UTC.