Wednesday, September 29, 2010

Showing a Google Custom-Map on your Blog

This article is about embedding custom maps made with Google maps into blogs made with Blogger.  However similar principles also apply to putting Google custom maps into other types of website.


Previously I've described how to make a custom-map in Google Maps.

Not only does this add a visual dimension to your blog, it can also be an excellent way of showing your progress on a journey, or describing your neighbourhood or the area that you blog about.

That said, you should also use the Location tags in posts, so that the posts themselves as well as the map shows your status.

If you are using Google custom maps, then once you have created a map, you can:
  • Email a link to the map to other people:  when they click on the link, their web-browser opens Google Maps, and shows them them map
  • Put a link to the map on a website:  when a viewer click on the link, their web-browser opens  Google Maps and show them them map
  • Embed the map into a website:  when the web-page loads, the map (including zoom-tools, scrolling, etc) is displayed.

How to to link or embed a Google custom map:

Log in to Google maps using the Google account that you used to create the map.

Make a new map, or click "My Places" to see the list of maps you have made.

Select the map you want to link to.

Click the "Link" item:  it's at the top of the left-hand sidebar, beside the print icon.

A new panel opens just underneath the Link button.:

If you want to share the map by email, or by linking to it on a website, then copy the code from the top entry in the panel, which is labelled "Paste link in email or IM".

However if you want to put the map itself into your blog, then DON'T just copy the code from the item labelled "Paste HTML to embed in website".

Instead, click Customize and preview embedded map.

This opens the map in a new window, where you can preview the actual zoom-level that will be used, and also pick a standard map size of a custom one.

Choose the settings that you want - including scrolling up and down slightly, so that the correct area is shown.

Copy the HTML from the window at bottom of the screen.  (Make sure you select ALL the code that's in the box: on many systems with happens if you put the cursor in the box and press Ctrl/A)

Put the copied HTML into your blog -  you have several options for doing this.

Related Articles: 

Making a custom-map in Google Maps

Putting 3rd party HTML into your blog

Copyright, Blogs and Bloggers

Share this Article


HTML link code:

BB (forum) link code:

Subscribe to Blogger-hints-and-tips

FeedBurner will send a confirmation message. Click the verify link in it to start your subscription.

Follow Me on Pinterest Subscribe to Blogger-HAT on Google + RSS subscription icon Follow BloggerHAT on Twitter


  1. A great help, many about the editing of maps already in the Blog (I don't speak HTML)...........

  2. Not sure if this comment has more to do with Maps or with editing and copying docs into Blogger. But I'll stick it here!
    My blog is based largely on G-Maps. I make much use of the pop up "Info Windows". I frequently need to paste text from MS Word, and the Google Docs method generally seems to help with maintaining the formatting, many thanks . But what I find truly maddening is trying to edit the text directly inside the window. The scroll down function works happily in Firefox and Safari and IE but in their own Chrome it is usually a shambles. Any way around this or must we change browsers whenever we edit the Info Windows in Google Maps?

  3. Thank you, that’s very interesting information. I need to share with my friends.

    Naisoso Island