Give visitors a Google Map

15 December 2009 · 1 comment

The easier you make it for people to attend your events, the more people will join in. Use Google Maps to provide a great map, that may even include directions and a street-level view of the location.

 

Help visitors find you

Are you running an event soon? Make sure you have information about it on your website. And make sure that information includes a map.

Did you know that you can embed Google Maps on your own website for free? It’s easy to do. Here’s how.

Look up the address

The red marker with the letter A shows the address.

Screenshot: The red marker with the letter A shows the address.

Go to http://maps.google.com and look up the address for your event.

For example: 1 The Terrace, Wellington, New Zealand.

The Google Map displays what it thinks is the correct address.

Choose Map or Satellite view

Use the Map and Satellite buttons at the top of the displayed map to find the view that best suits your purpose.

In some places, such as Wellington, New Zealand satellite view gives a real-world view showing buildings, gardens, streets, cars. It’s an actual photo, taken by a satellite within the last few years.

In other places a Map view, showing lines for streets may be more suitable.

Centre and zoom the map

Make sure the address is in the centre of the map. You can do this by dragging round on the map and double-clicking to zoom in.

Copy a URL

At the top right-hand corner of the Google map is a link labelled ‘Link’.

  1. Click on the Link. A small window pops up and offers two types of link that you can copy. The top one is labelled ‘Paste link in e-mail or IM’.
  2. Click anywhere in that email URL, to select the whole address.
  3. Choose Copy from the edit menu, then you can go ahead and paste the URL into an e-mail message or any other communication. When someone clicks that link, they will go to a Google Map displaying the location you’d centred.

In my example I copied this code:
http://maps.google.com/maps?
f=q&source=s_q&hl=en&geocode=
&q=1+The+Terrace,+Wellington,+New+Zealand
&sll=-41.279032,174.773362&sspn=0.007563,0.010815
&g=1+The+Terrace,+Wellington,+New+Zealand&ie=UTF8
&hq=&hnear=1+The+Terrace,+Wellington,+6011,+New+Zealand
&ll=-41.279008,174.77613&spn=0.003781,0.005407&t=h&z=17
.

It’s long, but it works, and all you have to do is paste it into an email for another person to click on.

Note: putting such a long ‘word’ on a web page causes display problems. I’ve broken it up over several lines so you can still see what it looks like without it messing up the web page. Normally things this long are hidden away behind the scenes.

Links to use in your email or website.

Links to use in your email or website.

Copy an embed code

The second link that Google Maps gives you is called ‘Paste HTML to embed in website’. It provides code you can just copy and paste into the HTML that makes a web page. When the web page is displayed it will include an interactive map.

Visitors will be able to click on the map, zoom in, scroll around, call up Street View, if it’s available, and generally work with the map.

  1. Click anywhere inside the ‘Paste HTML to embed in website’ code. It will all be selected.
  2. Copy the selected code.
  3. Edit one of your web pages. Make sure you are using the HTML view and paste in the code you copied in the previous step.
  4. Save your web page and view it as a visitor would see it. Check that the map is displaying the right location.

In my example, I was given a long chunk of code.

An example embedded map

You can see an example of this kind of map embedded in a web page at runspotrun.info/australasia/2009/lyall-bay-beach.

That web page talks about Lyall Bay beach in Wellington. At the end of the page is a map that shows you where the beach is. A visitor to the web page can zoom in and out, and switch between different views of the location.

Google Maps handle that side of things. All I had to do was put the code they gave me into my web page.

Street View showing the City to Sea bridge in Wellington, New Zealand.

Screenshot: Street View showing the City to Sea bridge in Wellington, New Zealand.

A map can make all the difference

Copy and Paste is so easy to do and the map is so useful for people who may be attending your event that really there’s no reason not to do it.

The easier you can make it for people to attend events, and the more information you can give them beforehand, the better attended your events should be.

And don’t just think that everybody knows where your location is — they may be new to the district, or perhaps English is not their first language. It only takes a minute to find and use a Google Map location. Just do it.

Written by Miraz Jordan for, and reproduced from CommunityNet Aotearoa Panui, December 2009. This article has been modified for publication here.

1 comment

These Posts may interest you too:

  1. How to use Google Maps with WordPress It can be frustrating trying to use Google Maps in a WordPress Post. Here's the easy and effective method I found. ...
  2. Wellington from above You know, Google Maps is very cool. For some fun keep an eye on Google Sightseeing which picks up on features of interest from wherever maps are available. The picture...
  3. Google goes off-road Google Maps more of the planet — by bike. ...
  4. Google archive saves the day “Help!”, my client said, “I’ve just deleted the main page of my website and I don’t have a backup. Do I have to recreate it from scratch?” “Aha!”, I said,...
  5. Track weather in iCal A nice weather tip from the O’Reilly Mac DevCenter Blog — you can feed weather forecasts into iCal: If you’d like to get your weather forecasts in iCal, head on...

Tell us what you think.
Note: there may be a delay before your comment appears. I now approve all comments from new visitors, in an attempt to keep spam at bay.

Add your Comment

{ 1 trackback }

Previous post:

Next post: