How to add a Google map to your contact page the easy way.

Use this article to create a map like the one below on your own web site.

The sample code is free but if you use it, please include a subtle link to www.incharge.co.uk or www.incharge.co.uk/maps somewhere on the page.

The maps are free as long as you do not charge for them and your site makes less than 50,000 requests per day. See Google Maps API Terms of Use for more details.

Download the files

Click here to download all the files and instructions used in this example.

Create a map like this...

Just like Google Maps you can drag, click, zoom and switch to satallite photo mode.

Map

Why is this method different to other "Add a Google map in 10 minutes..." methods?

You will need...

  1. These example files
  2. Google maps API license key.
  3. A place-holder image representing your map.
  4. Icon image to be displayed over the map.
  5. The location coordinates.

Instructions

  1. Edit this example file, or copy its <script>, <body> and <img> tags to your own page.
  2. Add the license key to the first script tag, after &amp;key=
  3. Add coordinates to the map image ID tag.
  4. Upload files to the remote server folder you specified when creating the key.
  5. Test the map with & without JavaScript.
  6. Make your own static map image.

How does it work?

Help with the techie stuff for independent graphic web designers

inCharge.co.uk limited provides technical web development services to independent graphic web designers e.g.

Copyright © 2007 inCharge.co.uk limited