Embed a map (new Google Maps)

You can embed a basic map, driving directions, or a local search into your website or blog from the new Google Maps. When your viewers are signed in to Google, they can also see their home and work, saved locations, and more in your embedded map.

Get the code

  1. Ensure that the map you'd like to embed appears in the current map display.
  2. Click the settings gear icon in the bottom right.
  3. Click Share and embed map.
  4. In the box that appears, make sure the Embed map tab is selected.
  5. Choose the embed size you want, then copy the HTML and paste the code into the source code of your website or blog.

Keep in mind that traffic information and some other Maps features may not be available in the embedded map.

Viewers of embedded maps

As a viewer of an embedded map, the map is built for you. Just like the new Google Maps, if you see a profile icon in the top right corner of the map, you may see content relevant to you, like your saved places and home location. This also means that if you interact with the map, such as starring a location, it’ll save that location for easy viewing in Google Maps for desktop or mobile.

If instead you see a blue Sign in button, you can sign in to Google to see content relevant to you. To sign in to an embedded map:

  1. Open the webpage with the embedded map.
  2. Click the Sign in button in the top right of the map.
  3. Enter your information and click Sign in.
  4. Your information is visible only to you. The third-party site can’t access your information.

To sign out of an embedded map:

  1. Open the webpage with the embedded map.
  2. Mouse over your profile link in the top right of the map.
  3. Click Account or your Google+ profile link (if you have a Google+ account).
  4. On the next page, click Sign out.
  5. Return to the website with the embedded map and refresh the page.
Related topics